Add files via upload
|
@ -0,0 +1,545 @@
|
|||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: mediapipe/framework/calculator_contract_test.proto
|
||||
|
||||
package mediapipe;
|
||||
|
||||
public final class CalculatorContractTest {
|
||||
private CalculatorContractTest() {}
|
||||
public static void registerAllExtensions(
|
||||
com.google.protobuf.ExtensionRegistryLite registry) {
|
||||
registry.add(mediapipe.CalculatorContractTest.CalculatorContractTestOptions.ext);
|
||||
}
|
||||
|
||||
public static void registerAllExtensions(
|
||||
com.google.protobuf.ExtensionRegistry registry) {
|
||||
registerAllExtensions(
|
||||
(com.google.protobuf.ExtensionRegistryLite) registry);
|
||||
}
|
||||
public interface CalculatorContractTestOptionsOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:mediapipe.CalculatorContractTestOptions)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>optional double test_field = 1 [default = -1];</code>
|
||||
*/
|
||||
boolean hasTestField();
|
||||
/**
|
||||
* <code>optional double test_field = 1 [default = -1];</code>
|
||||
*/
|
||||
double getTestField();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code mediapipe.CalculatorContractTestOptions}
|
||||
*/
|
||||
public static final class CalculatorContractTestOptions extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:mediapipe.CalculatorContractTestOptions)
|
||||
CalculatorContractTestOptionsOrBuilder {
|
||||
// Use CalculatorContractTestOptions.newBuilder() to construct.
|
||||
private CalculatorContractTestOptions(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private CalculatorContractTestOptions() {
|
||||
testField_ = -1D;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private CalculatorContractTestOptions(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
this();
|
||||
int mutable_bitField0_ = 0;
|
||||
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
||||
com.google.protobuf.UnknownFieldSet.newBuilder();
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
default: {
|
||||
if (!parseUnknownField(input, unknownFields,
|
||||
extensionRegistry, tag)) {
|
||||
done = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 9: {
|
||||
bitField0_ |= 0x00000001;
|
||||
testField_ = input.readDouble();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(this);
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(
|
||||
e).setUnfinishedMessage(this);
|
||||
} finally {
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return mediapipe.CalculatorContractTest.internal_static_mediapipe_CalculatorContractTestOptions_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return mediapipe.CalculatorContractTest.internal_static_mediapipe_CalculatorContractTestOptions_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
mediapipe.CalculatorContractTest.CalculatorContractTestOptions.class, mediapipe.CalculatorContractTest.CalculatorContractTestOptions.Builder.class);
|
||||
}
|
||||
|
||||
private int bitField0_;
|
||||
public static final int TEST_FIELD_FIELD_NUMBER = 1;
|
||||
private double testField_;
|
||||
/**
|
||||
* <code>optional double test_field = 1 [default = -1];</code>
|
||||
*/
|
||||
public boolean hasTestField() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>optional double test_field = 1 [default = -1];</code>
|
||||
*/
|
||||
public double getTestField() {
|
||||
return testField_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
byte isInitialized = memoizedIsInitialized;
|
||||
if (isInitialized == 1) return true;
|
||||
if (isInitialized == 0) return false;
|
||||
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeDouble(1, testField_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeDoubleSize(1, testField_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 0L;
|
||||
@java.lang.Override
|
||||
public boolean equals(final java.lang.Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof mediapipe.CalculatorContractTest.CalculatorContractTestOptions)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
mediapipe.CalculatorContractTest.CalculatorContractTestOptions other = (mediapipe.CalculatorContractTest.CalculatorContractTestOptions) obj;
|
||||
|
||||
boolean result = true;
|
||||
result = result && (hasTestField() == other.hasTestField());
|
||||
if (hasTestField()) {
|
||||
result = result && (
|
||||
java.lang.Double.doubleToLongBits(getTestField())
|
||||
== java.lang.Double.doubleToLongBits(
|
||||
other.getTestField()));
|
||||
}
|
||||
result = result && unknownFields.equals(other.unknownFields);
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
if (memoizedHashCode != 0) {
|
||||
return memoizedHashCode;
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptorForType().hashCode();
|
||||
if (hasTestField()) {
|
||||
hash = (37 * hash) + TEST_FIELD_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
java.lang.Double.doubleToLongBits(getTestField()));
|
||||
}
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static mediapipe.CalculatorContractTest.CalculatorContractTestOptions parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static mediapipe.CalculatorContractTest.CalculatorContractTestOptions parseFrom(
|
||||
com.google.protobuf.ByteString data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static mediapipe.CalculatorContractTest.CalculatorContractTestOptions parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static mediapipe.CalculatorContractTest.CalculatorContractTestOptions parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static mediapipe.CalculatorContractTest.CalculatorContractTestOptions parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static mediapipe.CalculatorContractTest.CalculatorContractTestOptions parseFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static mediapipe.CalculatorContractTest.CalculatorContractTestOptions parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
public static mediapipe.CalculatorContractTest.CalculatorContractTestOptions parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static mediapipe.CalculatorContractTest.CalculatorContractTestOptions parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static mediapipe.CalculatorContractTest.CalculatorContractTestOptions parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
|
||||
public Builder newBuilderForType() { return newBuilder(); }
|
||||
public static Builder newBuilder() {
|
||||
return DEFAULT_INSTANCE.toBuilder();
|
||||
}
|
||||
public static Builder newBuilder(mediapipe.CalculatorContractTest.CalculatorContractTestOptions prototype) {
|
||||
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
||||
}
|
||||
public Builder toBuilder() {
|
||||
return this == DEFAULT_INSTANCE
|
||||
? new Builder() : new Builder().mergeFrom(this);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected Builder newBuilderForType(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code mediapipe.CalculatorContractTestOptions}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:mediapipe.CalculatorContractTestOptions)
|
||||
mediapipe.CalculatorContractTest.CalculatorContractTestOptionsOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return mediapipe.CalculatorContractTest.internal_static_mediapipe_CalculatorContractTestOptions_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return mediapipe.CalculatorContractTest.internal_static_mediapipe_CalculatorContractTestOptions_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
mediapipe.CalculatorContractTest.CalculatorContractTestOptions.class, mediapipe.CalculatorContractTest.CalculatorContractTestOptions.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using mediapipe.CalculatorContractTest.CalculatorContractTestOptions.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
private void maybeForceBuilderInitialization() {
|
||||
if (com.google.protobuf.GeneratedMessageV3
|
||||
.alwaysUseFieldBuilders) {
|
||||
}
|
||||
}
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
testField_ = -1D;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
return this;
|
||||
}
|
||||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return mediapipe.CalculatorContractTest.internal_static_mediapipe_CalculatorContractTestOptions_descriptor;
|
||||
}
|
||||
|
||||
public mediapipe.CalculatorContractTest.CalculatorContractTestOptions getDefaultInstanceForType() {
|
||||
return mediapipe.CalculatorContractTest.CalculatorContractTestOptions.getDefaultInstance();
|
||||
}
|
||||
|
||||
public mediapipe.CalculatorContractTest.CalculatorContractTestOptions build() {
|
||||
mediapipe.CalculatorContractTest.CalculatorContractTestOptions result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public mediapipe.CalculatorContractTest.CalculatorContractTestOptions buildPartial() {
|
||||
mediapipe.CalculatorContractTest.CalculatorContractTestOptions result = new mediapipe.CalculatorContractTest.CalculatorContractTestOptions(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
int to_bitField0_ = 0;
|
||||
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
to_bitField0_ |= 0x00000001;
|
||||
}
|
||||
result.testField_ = testField_;
|
||||
result.bitField0_ = to_bitField0_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
public Builder clone() {
|
||||
return (Builder) super.clone();
|
||||
}
|
||||
public Builder setField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
Object value) {
|
||||
return (Builder) super.setField(field, value);
|
||||
}
|
||||
public Builder clearField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
||||
return (Builder) super.clearField(field);
|
||||
}
|
||||
public Builder clearOneof(
|
||||
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
||||
return (Builder) super.clearOneof(oneof);
|
||||
}
|
||||
public Builder setRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
int index, Object value) {
|
||||
return (Builder) super.setRepeatedField(field, index, value);
|
||||
}
|
||||
public Builder addRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
Object value) {
|
||||
return (Builder) super.addRepeatedField(field, value);
|
||||
}
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof mediapipe.CalculatorContractTest.CalculatorContractTestOptions) {
|
||||
return mergeFrom((mediapipe.CalculatorContractTest.CalculatorContractTestOptions)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(mediapipe.CalculatorContractTest.CalculatorContractTestOptions other) {
|
||||
if (other == mediapipe.CalculatorContractTest.CalculatorContractTestOptions.getDefaultInstance()) return this;
|
||||
if (other.hasTestField()) {
|
||||
setTestField(other.getTestField());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
public final boolean isInitialized() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public Builder mergeFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
mediapipe.CalculatorContractTest.CalculatorContractTestOptions parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (mediapipe.CalculatorContractTest.CalculatorContractTestOptions) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private double testField_ = -1D;
|
||||
/**
|
||||
* <code>optional double test_field = 1 [default = -1];</code>
|
||||
*/
|
||||
public boolean hasTestField() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>optional double test_field = 1 [default = -1];</code>
|
||||
*/
|
||||
public double getTestField() {
|
||||
return testField_;
|
||||
}
|
||||
/**
|
||||
* <code>optional double test_field = 1 [default = -1];</code>
|
||||
*/
|
||||
public Builder setTestField(double value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
testField_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional double test_field = 1 [default = -1];</code>
|
||||
*/
|
||||
public Builder clearTestField() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
testField_ = -1D;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.setUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
public final Builder mergeUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.mergeUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:mediapipe.CalculatorContractTestOptions)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:mediapipe.CalculatorContractTestOptions)
|
||||
private static final mediapipe.CalculatorContractTest.CalculatorContractTestOptions DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new mediapipe.CalculatorContractTest.CalculatorContractTestOptions();
|
||||
}
|
||||
|
||||
public static mediapipe.CalculatorContractTest.CalculatorContractTestOptions getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
@java.lang.Deprecated public static final com.google.protobuf.Parser<CalculatorContractTestOptions>
|
||||
PARSER = new com.google.protobuf.AbstractParser<CalculatorContractTestOptions>() {
|
||||
public CalculatorContractTestOptions parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new CalculatorContractTestOptions(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<CalculatorContractTestOptions> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<CalculatorContractTestOptions> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
public mediapipe.CalculatorContractTest.CalculatorContractTestOptions getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
public static final int EXT_FIELD_NUMBER = 188754615;
|
||||
/**
|
||||
* <code>extend .mediapipe.CalculatorOptions { ... }</code>
|
||||
*/
|
||||
public static final
|
||||
com.google.protobuf.GeneratedMessage.GeneratedExtension<
|
||||
com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions,
|
||||
mediapipe.CalculatorContractTest.CalculatorContractTestOptions> ext = com.google.protobuf.GeneratedMessage
|
||||
.newMessageScopedGeneratedExtension(
|
||||
mediapipe.CalculatorContractTest.CalculatorContractTestOptions.getDefaultInstance(),
|
||||
0,
|
||||
mediapipe.CalculatorContractTest.CalculatorContractTestOptions.class,
|
||||
mediapipe.CalculatorContractTest.CalculatorContractTestOptions.getDefaultInstance());
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_mediapipe_CalculatorContractTestOptions_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_mediapipe_CalculatorContractTestOptions_fieldAccessorTable;
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
return descriptor;
|
||||
}
|
||||
private static com.google.protobuf.Descriptors.FileDescriptor
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n2mediapipe/framework/calculator_contrac" +
|
||||
"t_test.proto\022\tmediapipe\032$mediapipe/frame" +
|
||||
"work/calculator.proto\"\217\001\n\035CalculatorCont" +
|
||||
"ractTestOptions\022\026\n\ntest_field\030\001 \001(\001:\002-12" +
|
||||
"V\n\003ext\022\034.mediapipe.CalculatorOptions\030\267\325\200" +
|
||||
"Z \001(\0132(.mediapipe.CalculatorContractTest" +
|
||||
"Options"
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
||||
public com.google.protobuf.ExtensionRegistry assignDescriptors(
|
||||
com.google.protobuf.Descriptors.FileDescriptor root) {
|
||||
descriptor = root;
|
||||
return null;
|
||||
}
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
com.google.mediapipe.proto.CalculatorProto.getDescriptor(),
|
||||
}, assigner);
|
||||
internal_static_mediapipe_CalculatorContractTestOptions_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_mediapipe_CalculatorContractTestOptions_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_mediapipe_CalculatorContractTestOptions_descriptor,
|
||||
new java.lang.String[] { "TestField", });
|
||||
com.google.mediapipe.proto.CalculatorProto.getDescriptor();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
|
@ -0,0 +1,641 @@
|
|||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: mediapipe/framework/calculator_options.proto
|
||||
|
||||
package com.google.mediapipe.proto;
|
||||
|
||||
public final class CalculatorOptionsProto {
|
||||
private CalculatorOptionsProto() {}
|
||||
public static void registerAllExtensions(
|
||||
com.google.protobuf.ExtensionRegistryLite registry) {
|
||||
}
|
||||
|
||||
public static void registerAllExtensions(
|
||||
com.google.protobuf.ExtensionRegistry registry) {
|
||||
registerAllExtensions(
|
||||
(com.google.protobuf.ExtensionRegistryLite) registry);
|
||||
}
|
||||
public interface CalculatorOptionsOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:mediapipe.CalculatorOptions)
|
||||
com.google.protobuf.GeneratedMessageV3.
|
||||
ExtendableMessageOrBuilder<CalculatorOptions> {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* If true, this proto specifies a subset of field values,
|
||||
* which should override corresponding field values.
|
||||
* Deprecated in cl/228195782.
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional bool merge_fields = 1 [deprecated = true];</code>
|
||||
*/
|
||||
@java.lang.Deprecated boolean hasMergeFields();
|
||||
/**
|
||||
* <pre>
|
||||
* If true, this proto specifies a subset of field values,
|
||||
* which should override corresponding field values.
|
||||
* Deprecated in cl/228195782.
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional bool merge_fields = 1 [deprecated = true];</code>
|
||||
*/
|
||||
@java.lang.Deprecated boolean getMergeFields();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Options for Calculators. Each Calculator implementation should
|
||||
* have its own options proto, which should look like this:
|
||||
* message MyCalculatorOptions {
|
||||
* extend CalculatorOptions {
|
||||
* optional MyCalculatorOptions ext = <unique id, e.g. the CL#>;
|
||||
* }
|
||||
* optional string field_needed_by_my_calculator = 1;
|
||||
* optional int32 another_field = 2;
|
||||
* // etc
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code mediapipe.CalculatorOptions}
|
||||
*/
|
||||
public static final class CalculatorOptions extends
|
||||
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<
|
||||
CalculatorOptions> implements
|
||||
// @@protoc_insertion_point(message_implements:mediapipe.CalculatorOptions)
|
||||
CalculatorOptionsOrBuilder {
|
||||
// Use CalculatorOptions.newBuilder() to construct.
|
||||
private CalculatorOptions(com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions, ?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private CalculatorOptions() {
|
||||
mergeFields_ = false;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private CalculatorOptions(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
this();
|
||||
int mutable_bitField0_ = 0;
|
||||
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
||||
com.google.protobuf.UnknownFieldSet.newBuilder();
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
default: {
|
||||
if (!parseUnknownField(input, unknownFields,
|
||||
extensionRegistry, tag)) {
|
||||
done = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
mergeFields_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(this);
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(
|
||||
e).setUnfinishedMessage(this);
|
||||
} finally {
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.google.mediapipe.proto.CalculatorOptionsProto.internal_static_mediapipe_CalculatorOptions_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.google.mediapipe.proto.CalculatorOptionsProto.internal_static_mediapipe_CalculatorOptions_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions.class, com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions.Builder.class);
|
||||
}
|
||||
|
||||
private int bitField0_;
|
||||
public static final int MERGE_FIELDS_FIELD_NUMBER = 1;
|
||||
private boolean mergeFields_;
|
||||
/**
|
||||
* <pre>
|
||||
* If true, this proto specifies a subset of field values,
|
||||
* which should override corresponding field values.
|
||||
* Deprecated in cl/228195782.
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional bool merge_fields = 1 [deprecated = true];</code>
|
||||
*/
|
||||
@java.lang.Deprecated public boolean hasMergeFields() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* If true, this proto specifies a subset of field values,
|
||||
* which should override corresponding field values.
|
||||
* Deprecated in cl/228195782.
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional bool merge_fields = 1 [deprecated = true];</code>
|
||||
*/
|
||||
@java.lang.Deprecated public boolean getMergeFields() {
|
||||
return mergeFields_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
byte isInitialized = memoizedIsInitialized;
|
||||
if (isInitialized == 1) return true;
|
||||
if (isInitialized == 0) return false;
|
||||
|
||||
if (!extensionsAreInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
com.google.protobuf.GeneratedMessageV3
|
||||
.ExtendableMessage<com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions>.ExtensionWriter
|
||||
extensionWriter = newExtensionWriter();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeBool(1, mergeFields_);
|
||||
}
|
||||
extensionWriter.writeUntil(536870912, output);
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(1, mergeFields_);
|
||||
}
|
||||
size += extensionsSerializedSize();
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 0L;
|
||||
@java.lang.Override
|
||||
public boolean equals(final java.lang.Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions other = (com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions) obj;
|
||||
|
||||
boolean result = true;
|
||||
result = result && (hasMergeFields() == other.hasMergeFields());
|
||||
if (hasMergeFields()) {
|
||||
result = result && (getMergeFields()
|
||||
== other.getMergeFields());
|
||||
}
|
||||
result = result && unknownFields.equals(other.unknownFields);
|
||||
result = result &&
|
||||
getExtensionFields().equals(other.getExtensionFields());
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
if (memoizedHashCode != 0) {
|
||||
return memoizedHashCode;
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptorForType().hashCode();
|
||||
if (hasMergeFields()) {
|
||||
hash = (37 * hash) + MERGE_FIELDS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getMergeFields());
|
||||
}
|
||||
hash = hashFields(hash, getExtensionFields());
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions parseFrom(
|
||||
com.google.protobuf.ByteString data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions parseFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
public static com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
|
||||
public Builder newBuilderForType() { return newBuilder(); }
|
||||
public static Builder newBuilder() {
|
||||
return DEFAULT_INSTANCE.toBuilder();
|
||||
}
|
||||
public static Builder newBuilder(com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions prototype) {
|
||||
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
||||
}
|
||||
public Builder toBuilder() {
|
||||
return this == DEFAULT_INSTANCE
|
||||
? new Builder() : new Builder().mergeFrom(this);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected Builder newBuilderForType(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Options for Calculators. Each Calculator implementation should
|
||||
* have its own options proto, which should look like this:
|
||||
* message MyCalculatorOptions {
|
||||
* extend CalculatorOptions {
|
||||
* optional MyCalculatorOptions ext = <unique id, e.g. the CL#>;
|
||||
* }
|
||||
* optional string field_needed_by_my_calculator = 1;
|
||||
* optional int32 another_field = 2;
|
||||
* // etc
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code mediapipe.CalculatorOptions}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<
|
||||
com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions, Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:mediapipe.CalculatorOptions)
|
||||
com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptionsOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.google.mediapipe.proto.CalculatorOptionsProto.internal_static_mediapipe_CalculatorOptions_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.google.mediapipe.proto.CalculatorOptionsProto.internal_static_mediapipe_CalculatorOptions_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions.class, com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
private void maybeForceBuilderInitialization() {
|
||||
if (com.google.protobuf.GeneratedMessageV3
|
||||
.alwaysUseFieldBuilders) {
|
||||
}
|
||||
}
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
mergeFields_ = false;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
return this;
|
||||
}
|
||||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return com.google.mediapipe.proto.CalculatorOptionsProto.internal_static_mediapipe_CalculatorOptions_descriptor;
|
||||
}
|
||||
|
||||
public com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions getDefaultInstanceForType() {
|
||||
return com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions.getDefaultInstance();
|
||||
}
|
||||
|
||||
public com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions build() {
|
||||
com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions buildPartial() {
|
||||
com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions result = new com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
int to_bitField0_ = 0;
|
||||
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
to_bitField0_ |= 0x00000001;
|
||||
}
|
||||
result.mergeFields_ = mergeFields_;
|
||||
result.bitField0_ = to_bitField0_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
public Builder clone() {
|
||||
return (Builder) super.clone();
|
||||
}
|
||||
public Builder setField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
Object value) {
|
||||
return (Builder) super.setField(field, value);
|
||||
}
|
||||
public Builder clearField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
||||
return (Builder) super.clearField(field);
|
||||
}
|
||||
public Builder clearOneof(
|
||||
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
||||
return (Builder) super.clearOneof(oneof);
|
||||
}
|
||||
public Builder setRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
int index, Object value) {
|
||||
return (Builder) super.setRepeatedField(field, index, value);
|
||||
}
|
||||
public Builder addRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
Object value) {
|
||||
return (Builder) super.addRepeatedField(field, value);
|
||||
}
|
||||
public <Type> Builder setExtension(
|
||||
com.google.protobuf.GeneratedMessage.GeneratedExtension<
|
||||
com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions, Type> extension,
|
||||
Type value) {
|
||||
return (Builder) super.setExtension(extension, value);
|
||||
}
|
||||
public <Type> Builder setExtension(
|
||||
com.google.protobuf.GeneratedMessage.GeneratedExtension<
|
||||
com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions, java.util.List<Type>> extension,
|
||||
int index, Type value) {
|
||||
return (Builder) super.setExtension(extension, index, value);
|
||||
}
|
||||
public <Type> Builder addExtension(
|
||||
com.google.protobuf.GeneratedMessage.GeneratedExtension<
|
||||
com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions, java.util.List<Type>> extension,
|
||||
Type value) {
|
||||
return (Builder) super.addExtension(extension, value);
|
||||
}
|
||||
public <Type> Builder clearExtension(
|
||||
com.google.protobuf.GeneratedMessage.GeneratedExtension<
|
||||
com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions, ?> extension) {
|
||||
return (Builder) super.clearExtension(extension);
|
||||
}
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions) {
|
||||
return mergeFrom((com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions other) {
|
||||
if (other == com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions.getDefaultInstance()) return this;
|
||||
if (other.hasMergeFields()) {
|
||||
setMergeFields(other.getMergeFields());
|
||||
}
|
||||
this.mergeExtensionFields(other);
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
public final boolean isInitialized() {
|
||||
if (!extensionsAreInitialized()) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public Builder mergeFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private boolean mergeFields_ ;
|
||||
/**
|
||||
* <pre>
|
||||
* If true, this proto specifies a subset of field values,
|
||||
* which should override corresponding field values.
|
||||
* Deprecated in cl/228195782.
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional bool merge_fields = 1 [deprecated = true];</code>
|
||||
*/
|
||||
@java.lang.Deprecated public boolean hasMergeFields() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* If true, this proto specifies a subset of field values,
|
||||
* which should override corresponding field values.
|
||||
* Deprecated in cl/228195782.
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional bool merge_fields = 1 [deprecated = true];</code>
|
||||
*/
|
||||
@java.lang.Deprecated public boolean getMergeFields() {
|
||||
return mergeFields_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* If true, this proto specifies a subset of field values,
|
||||
* which should override corresponding field values.
|
||||
* Deprecated in cl/228195782.
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional bool merge_fields = 1 [deprecated = true];</code>
|
||||
*/
|
||||
@java.lang.Deprecated public Builder setMergeFields(boolean value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
mergeFields_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* If true, this proto specifies a subset of field values,
|
||||
* which should override corresponding field values.
|
||||
* Deprecated in cl/228195782.
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional bool merge_fields = 1 [deprecated = true];</code>
|
||||
*/
|
||||
@java.lang.Deprecated public Builder clearMergeFields() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
mergeFields_ = false;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.setUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
public final Builder mergeUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.mergeUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:mediapipe.CalculatorOptions)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:mediapipe.CalculatorOptions)
|
||||
private static final com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions();
|
||||
}
|
||||
|
||||
public static com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
@java.lang.Deprecated public static final com.google.protobuf.Parser<CalculatorOptions>
|
||||
PARSER = new com.google.protobuf.AbstractParser<CalculatorOptions>() {
|
||||
public CalculatorOptions parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new CalculatorOptions(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<CalculatorOptions> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<CalculatorOptions> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
public com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_mediapipe_CalculatorOptions_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_mediapipe_CalculatorOptions_fieldAccessorTable;
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
return descriptor;
|
||||
}
|
||||
private static com.google.protobuf.Descriptors.FileDescriptor
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n,mediapipe/framework/calculator_options" +
|
||||
".proto\022\tmediapipe\"9\n\021CalculatorOptions\022\030" +
|
||||
"\n\014merge_fields\030\001 \001(\010B\002\030\001*\n\010\240\234\001\020\200\200\200\200\002B4\n\032" +
|
||||
"com.google.mediapipe.protoB\026CalculatorOp" +
|
||||
"tionsProto"
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
||||
public com.google.protobuf.ExtensionRegistry assignDescriptors(
|
||||
com.google.protobuf.Descriptors.FileDescriptor root) {
|
||||
descriptor = root;
|
||||
return null;
|
||||
}
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
}, assigner);
|
||||
internal_static_mediapipe_CalculatorOptions_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_mediapipe_CalculatorOptions_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_mediapipe_CalculatorOptions_descriptor,
|
||||
new java.lang.String[] { "MergeFields", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
|
@ -0,0 +1,587 @@
|
|||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: mediapipe/gpu/gl_surface_sink_calculator.proto
|
||||
|
||||
package mediapipe;
|
||||
|
||||
public final class GlSurfaceSinkCalculator {
|
||||
private GlSurfaceSinkCalculator() {}
|
||||
public static void registerAllExtensions(
|
||||
com.google.protobuf.ExtensionRegistryLite registry) {
|
||||
registry.add(mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions.ext);
|
||||
}
|
||||
|
||||
public static void registerAllExtensions(
|
||||
com.google.protobuf.ExtensionRegistry registry) {
|
||||
registerAllExtensions(
|
||||
(com.google.protobuf.ExtensionRegistryLite) registry);
|
||||
}
|
||||
public interface GlSurfaceSinkCalculatorOptionsOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:mediapipe.GlSurfaceSinkCalculatorOptions)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* Output frame scale mode. Default is FILL_AND_CROP.
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional .mediapipe.ScaleMode.Mode frame_scale_mode = 1;</code>
|
||||
*/
|
||||
boolean hasFrameScaleMode();
|
||||
/**
|
||||
* <pre>
|
||||
* Output frame scale mode. Default is FILL_AND_CROP.
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional .mediapipe.ScaleMode.Mode frame_scale_mode = 1;</code>
|
||||
*/
|
||||
mediapipe.ScaleModeOuterClass.ScaleMode.Mode getFrameScaleMode();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code mediapipe.GlSurfaceSinkCalculatorOptions}
|
||||
*/
|
||||
public static final class GlSurfaceSinkCalculatorOptions extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:mediapipe.GlSurfaceSinkCalculatorOptions)
|
||||
GlSurfaceSinkCalculatorOptionsOrBuilder {
|
||||
// Use GlSurfaceSinkCalculatorOptions.newBuilder() to construct.
|
||||
private GlSurfaceSinkCalculatorOptions(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private GlSurfaceSinkCalculatorOptions() {
|
||||
frameScaleMode_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private GlSurfaceSinkCalculatorOptions(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
this();
|
||||
int mutable_bitField0_ = 0;
|
||||
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
||||
com.google.protobuf.UnknownFieldSet.newBuilder();
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
default: {
|
||||
if (!parseUnknownField(input, unknownFields,
|
||||
extensionRegistry, tag)) {
|
||||
done = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 8: {
|
||||
int rawValue = input.readEnum();
|
||||
mediapipe.ScaleModeOuterClass.ScaleMode.Mode value = mediapipe.ScaleModeOuterClass.ScaleMode.Mode.valueOf(rawValue);
|
||||
if (value == null) {
|
||||
unknownFields.mergeVarintField(1, rawValue);
|
||||
} else {
|
||||
bitField0_ |= 0x00000001;
|
||||
frameScaleMode_ = rawValue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(this);
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(
|
||||
e).setUnfinishedMessage(this);
|
||||
} finally {
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return mediapipe.GlSurfaceSinkCalculator.internal_static_mediapipe_GlSurfaceSinkCalculatorOptions_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return mediapipe.GlSurfaceSinkCalculator.internal_static_mediapipe_GlSurfaceSinkCalculatorOptions_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions.class, mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions.Builder.class);
|
||||
}
|
||||
|
||||
private int bitField0_;
|
||||
public static final int FRAME_SCALE_MODE_FIELD_NUMBER = 1;
|
||||
private int frameScaleMode_;
|
||||
/**
|
||||
* <pre>
|
||||
* Output frame scale mode. Default is FILL_AND_CROP.
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional .mediapipe.ScaleMode.Mode frame_scale_mode = 1;</code>
|
||||
*/
|
||||
public boolean hasFrameScaleMode() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Output frame scale mode. Default is FILL_AND_CROP.
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional .mediapipe.ScaleMode.Mode frame_scale_mode = 1;</code>
|
||||
*/
|
||||
public mediapipe.ScaleModeOuterClass.ScaleMode.Mode getFrameScaleMode() {
|
||||
mediapipe.ScaleModeOuterClass.ScaleMode.Mode result = mediapipe.ScaleModeOuterClass.ScaleMode.Mode.valueOf(frameScaleMode_);
|
||||
return result == null ? mediapipe.ScaleModeOuterClass.ScaleMode.Mode.DEFAULT : result;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
byte isInitialized = memoizedIsInitialized;
|
||||
if (isInitialized == 1) return true;
|
||||
if (isInitialized == 0) return false;
|
||||
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeEnum(1, frameScaleMode_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(1, frameScaleMode_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 0L;
|
||||
@java.lang.Override
|
||||
public boolean equals(final java.lang.Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions other = (mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions) obj;
|
||||
|
||||
boolean result = true;
|
||||
result = result && (hasFrameScaleMode() == other.hasFrameScaleMode());
|
||||
if (hasFrameScaleMode()) {
|
||||
result = result && frameScaleMode_ == other.frameScaleMode_;
|
||||
}
|
||||
result = result && unknownFields.equals(other.unknownFields);
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
if (memoizedHashCode != 0) {
|
||||
return memoizedHashCode;
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptorForType().hashCode();
|
||||
if (hasFrameScaleMode()) {
|
||||
hash = (37 * hash) + FRAME_SCALE_MODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + frameScaleMode_;
|
||||
}
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions parseFrom(
|
||||
com.google.protobuf.ByteString data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions parseFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
public static mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
|
||||
public Builder newBuilderForType() { return newBuilder(); }
|
||||
public static Builder newBuilder() {
|
||||
return DEFAULT_INSTANCE.toBuilder();
|
||||
}
|
||||
public static Builder newBuilder(mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions prototype) {
|
||||
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
||||
}
|
||||
public Builder toBuilder() {
|
||||
return this == DEFAULT_INSTANCE
|
||||
? new Builder() : new Builder().mergeFrom(this);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected Builder newBuilderForType(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code mediapipe.GlSurfaceSinkCalculatorOptions}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:mediapipe.GlSurfaceSinkCalculatorOptions)
|
||||
mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptionsOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return mediapipe.GlSurfaceSinkCalculator.internal_static_mediapipe_GlSurfaceSinkCalculatorOptions_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return mediapipe.GlSurfaceSinkCalculator.internal_static_mediapipe_GlSurfaceSinkCalculatorOptions_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions.class, mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
private void maybeForceBuilderInitialization() {
|
||||
if (com.google.protobuf.GeneratedMessageV3
|
||||
.alwaysUseFieldBuilders) {
|
||||
}
|
||||
}
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
frameScaleMode_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
return this;
|
||||
}
|
||||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return mediapipe.GlSurfaceSinkCalculator.internal_static_mediapipe_GlSurfaceSinkCalculatorOptions_descriptor;
|
||||
}
|
||||
|
||||
public mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions getDefaultInstanceForType() {
|
||||
return mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions.getDefaultInstance();
|
||||
}
|
||||
|
||||
public mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions build() {
|
||||
mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions buildPartial() {
|
||||
mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions result = new mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
int to_bitField0_ = 0;
|
||||
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
to_bitField0_ |= 0x00000001;
|
||||
}
|
||||
result.frameScaleMode_ = frameScaleMode_;
|
||||
result.bitField0_ = to_bitField0_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
public Builder clone() {
|
||||
return (Builder) super.clone();
|
||||
}
|
||||
public Builder setField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
Object value) {
|
||||
return (Builder) super.setField(field, value);
|
||||
}
|
||||
public Builder clearField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
||||
return (Builder) super.clearField(field);
|
||||
}
|
||||
public Builder clearOneof(
|
||||
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
||||
return (Builder) super.clearOneof(oneof);
|
||||
}
|
||||
public Builder setRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
int index, Object value) {
|
||||
return (Builder) super.setRepeatedField(field, index, value);
|
||||
}
|
||||
public Builder addRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
Object value) {
|
||||
return (Builder) super.addRepeatedField(field, value);
|
||||
}
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions) {
|
||||
return mergeFrom((mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions other) {
|
||||
if (other == mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions.getDefaultInstance()) return this;
|
||||
if (other.hasFrameScaleMode()) {
|
||||
setFrameScaleMode(other.getFrameScaleMode());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
public final boolean isInitialized() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public Builder mergeFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private int frameScaleMode_ = 0;
|
||||
/**
|
||||
* <pre>
|
||||
* Output frame scale mode. Default is FILL_AND_CROP.
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional .mediapipe.ScaleMode.Mode frame_scale_mode = 1;</code>
|
||||
*/
|
||||
public boolean hasFrameScaleMode() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Output frame scale mode. Default is FILL_AND_CROP.
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional .mediapipe.ScaleMode.Mode frame_scale_mode = 1;</code>
|
||||
*/
|
||||
public mediapipe.ScaleModeOuterClass.ScaleMode.Mode getFrameScaleMode() {
|
||||
mediapipe.ScaleModeOuterClass.ScaleMode.Mode result = mediapipe.ScaleModeOuterClass.ScaleMode.Mode.valueOf(frameScaleMode_);
|
||||
return result == null ? mediapipe.ScaleModeOuterClass.ScaleMode.Mode.DEFAULT : result;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Output frame scale mode. Default is FILL_AND_CROP.
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional .mediapipe.ScaleMode.Mode frame_scale_mode = 1;</code>
|
||||
*/
|
||||
public Builder setFrameScaleMode(mediapipe.ScaleModeOuterClass.ScaleMode.Mode value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
bitField0_ |= 0x00000001;
|
||||
frameScaleMode_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Output frame scale mode. Default is FILL_AND_CROP.
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional .mediapipe.ScaleMode.Mode frame_scale_mode = 1;</code>
|
||||
*/
|
||||
public Builder clearFrameScaleMode() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
frameScaleMode_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.setUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
public final Builder mergeUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.mergeUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:mediapipe.GlSurfaceSinkCalculatorOptions)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:mediapipe.GlSurfaceSinkCalculatorOptions)
|
||||
private static final mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions();
|
||||
}
|
||||
|
||||
public static mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
@java.lang.Deprecated public static final com.google.protobuf.Parser<GlSurfaceSinkCalculatorOptions>
|
||||
PARSER = new com.google.protobuf.AbstractParser<GlSurfaceSinkCalculatorOptions>() {
|
||||
public GlSurfaceSinkCalculatorOptions parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new GlSurfaceSinkCalculatorOptions(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<GlSurfaceSinkCalculatorOptions> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<GlSurfaceSinkCalculatorOptions> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
public mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
public static final int EXT_FIELD_NUMBER = 243334538;
|
||||
/**
|
||||
* <code>extend .mediapipe.CalculatorOptions { ... }</code>
|
||||
*/
|
||||
public static final
|
||||
com.google.protobuf.GeneratedMessage.GeneratedExtension<
|
||||
com.google.mediapipe.proto.CalculatorOptionsProto.CalculatorOptions,
|
||||
mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions> ext = com.google.protobuf.GeneratedMessage
|
||||
.newMessageScopedGeneratedExtension(
|
||||
mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions.getDefaultInstance(),
|
||||
0,
|
||||
mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions.class,
|
||||
mediapipe.GlSurfaceSinkCalculator.GlSurfaceSinkCalculatorOptions.getDefaultInstance());
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_mediapipe_GlSurfaceSinkCalculatorOptions_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_mediapipe_GlSurfaceSinkCalculatorOptions_fieldAccessorTable;
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
return descriptor;
|
||||
}
|
||||
private static com.google.protobuf.Descriptors.FileDescriptor
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n.mediapipe/gpu/gl_surface_sink_calculat" +
|
||||
"or.proto\022\tmediapipe\032$mediapipe/framework" +
|
||||
"/calculator.proto\032\036mediapipe/gpu/scale_m" +
|
||||
"ode.proto\"\256\001\n\036GlSurfaceSinkCalculatorOpt" +
|
||||
"ions\0223\n\020frame_scale_mode\030\001 \001(\0162\031.mediapi" +
|
||||
"pe.ScaleMode.Mode2W\n\003ext\022\034.mediapipe.Cal" +
|
||||
"culatorOptions\030\212\373\203t \001(\0132).mediapipe.GlSu" +
|
||||
"rfaceSinkCalculatorOptions"
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
||||
public com.google.protobuf.ExtensionRegistry assignDescriptors(
|
||||
com.google.protobuf.Descriptors.FileDescriptor root) {
|
||||
descriptor = root;
|
||||
return null;
|
||||
}
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
com.google.mediapipe.proto.CalculatorProto.getDescriptor(),
|
||||
mediapipe.ScaleModeOuterClass.getDescriptor(),
|
||||
}, assigner);
|
||||
internal_static_mediapipe_GlSurfaceSinkCalculatorOptions_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_mediapipe_GlSurfaceSinkCalculatorOptions_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_mediapipe_GlSurfaceSinkCalculatorOptions_descriptor,
|
||||
new java.lang.String[] { "FrameScaleMode", });
|
||||
com.google.mediapipe.proto.CalculatorProto.getDescriptor();
|
||||
mediapipe.ScaleModeOuterClass.getDescriptor();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
|
@ -0,0 +1,479 @@
|
|||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: mediapipe/framework/mediapipe_options.proto
|
||||
|
||||
package mediapipe;
|
||||
|
||||
public final class MediapipeOptions {
|
||||
private MediapipeOptions() {}
|
||||
public static void registerAllExtensions(
|
||||
com.google.protobuf.ExtensionRegistryLite registry) {
|
||||
}
|
||||
|
||||
public static void registerAllExtensions(
|
||||
com.google.protobuf.ExtensionRegistry registry) {
|
||||
registerAllExtensions(
|
||||
(com.google.protobuf.ExtensionRegistryLite) registry);
|
||||
}
|
||||
public interface MediaPipeOptionsOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:mediapipe.MediaPipeOptions)
|
||||
com.google.protobuf.GeneratedMessageV3.
|
||||
ExtendableMessageOrBuilder<MediaPipeOptions> {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Options used by a MediaPipe object.
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code mediapipe.MediaPipeOptions}
|
||||
*/
|
||||
public static final class MediaPipeOptions extends
|
||||
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<
|
||||
MediaPipeOptions> implements
|
||||
// @@protoc_insertion_point(message_implements:mediapipe.MediaPipeOptions)
|
||||
MediaPipeOptionsOrBuilder {
|
||||
// Use MediaPipeOptions.newBuilder() to construct.
|
||||
private MediaPipeOptions(com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<mediapipe.MediapipeOptions.MediaPipeOptions, ?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private MediaPipeOptions() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private MediaPipeOptions(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
this();
|
||||
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
||||
com.google.protobuf.UnknownFieldSet.newBuilder();
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
default: {
|
||||
if (!parseUnknownField(input, unknownFields,
|
||||
extensionRegistry, tag)) {
|
||||
done = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(this);
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(
|
||||
e).setUnfinishedMessage(this);
|
||||
} finally {
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return mediapipe.MediapipeOptions.internal_static_mediapipe_MediaPipeOptions_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return mediapipe.MediapipeOptions.internal_static_mediapipe_MediaPipeOptions_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
mediapipe.MediapipeOptions.MediaPipeOptions.class, mediapipe.MediapipeOptions.MediaPipeOptions.Builder.class);
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
byte isInitialized = memoizedIsInitialized;
|
||||
if (isInitialized == 1) return true;
|
||||
if (isInitialized == 0) return false;
|
||||
|
||||
if (!extensionsAreInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
com.google.protobuf.GeneratedMessageV3
|
||||
.ExtendableMessage<mediapipe.MediapipeOptions.MediaPipeOptions>.ExtensionWriter
|
||||
extensionWriter = newExtensionWriter();
|
||||
extensionWriter.writeUntil(536870912, output);
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
size += extensionsSerializedSize();
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 0L;
|
||||
@java.lang.Override
|
||||
public boolean equals(final java.lang.Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof mediapipe.MediapipeOptions.MediaPipeOptions)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
mediapipe.MediapipeOptions.MediaPipeOptions other = (mediapipe.MediapipeOptions.MediaPipeOptions) obj;
|
||||
|
||||
boolean result = true;
|
||||
result = result && unknownFields.equals(other.unknownFields);
|
||||
result = result &&
|
||||
getExtensionFields().equals(other.getExtensionFields());
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
if (memoizedHashCode != 0) {
|
||||
return memoizedHashCode;
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptorForType().hashCode();
|
||||
hash = hashFields(hash, getExtensionFields());
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static mediapipe.MediapipeOptions.MediaPipeOptions parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static mediapipe.MediapipeOptions.MediaPipeOptions parseFrom(
|
||||
com.google.protobuf.ByteString data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static mediapipe.MediapipeOptions.MediaPipeOptions parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static mediapipe.MediapipeOptions.MediaPipeOptions parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static mediapipe.MediapipeOptions.MediaPipeOptions parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static mediapipe.MediapipeOptions.MediaPipeOptions parseFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static mediapipe.MediapipeOptions.MediaPipeOptions parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
public static mediapipe.MediapipeOptions.MediaPipeOptions parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static mediapipe.MediapipeOptions.MediaPipeOptions parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static mediapipe.MediapipeOptions.MediaPipeOptions parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
|
||||
public Builder newBuilderForType() { return newBuilder(); }
|
||||
public static Builder newBuilder() {
|
||||
return DEFAULT_INSTANCE.toBuilder();
|
||||
}
|
||||
public static Builder newBuilder(mediapipe.MediapipeOptions.MediaPipeOptions prototype) {
|
||||
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
||||
}
|
||||
public Builder toBuilder() {
|
||||
return this == DEFAULT_INSTANCE
|
||||
? new Builder() : new Builder().mergeFrom(this);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected Builder newBuilderForType(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Options used by a MediaPipe object.
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code mediapipe.MediaPipeOptions}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<
|
||||
mediapipe.MediapipeOptions.MediaPipeOptions, Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:mediapipe.MediaPipeOptions)
|
||||
mediapipe.MediapipeOptions.MediaPipeOptionsOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return mediapipe.MediapipeOptions.internal_static_mediapipe_MediaPipeOptions_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return mediapipe.MediapipeOptions.internal_static_mediapipe_MediaPipeOptions_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
mediapipe.MediapipeOptions.MediaPipeOptions.class, mediapipe.MediapipeOptions.MediaPipeOptions.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using mediapipe.MediapipeOptions.MediaPipeOptions.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
private void maybeForceBuilderInitialization() {
|
||||
if (com.google.protobuf.GeneratedMessageV3
|
||||
.alwaysUseFieldBuilders) {
|
||||
}
|
||||
}
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return mediapipe.MediapipeOptions.internal_static_mediapipe_MediaPipeOptions_descriptor;
|
||||
}
|
||||
|
||||
public mediapipe.MediapipeOptions.MediaPipeOptions getDefaultInstanceForType() {
|
||||
return mediapipe.MediapipeOptions.MediaPipeOptions.getDefaultInstance();
|
||||
}
|
||||
|
||||
public mediapipe.MediapipeOptions.MediaPipeOptions build() {
|
||||
mediapipe.MediapipeOptions.MediaPipeOptions result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public mediapipe.MediapipeOptions.MediaPipeOptions buildPartial() {
|
||||
mediapipe.MediapipeOptions.MediaPipeOptions result = new mediapipe.MediapipeOptions.MediaPipeOptions(this);
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
public Builder clone() {
|
||||
return (Builder) super.clone();
|
||||
}
|
||||
public Builder setField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
Object value) {
|
||||
return (Builder) super.setField(field, value);
|
||||
}
|
||||
public Builder clearField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
||||
return (Builder) super.clearField(field);
|
||||
}
|
||||
public Builder clearOneof(
|
||||
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
||||
return (Builder) super.clearOneof(oneof);
|
||||
}
|
||||
public Builder setRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
int index, Object value) {
|
||||
return (Builder) super.setRepeatedField(field, index, value);
|
||||
}
|
||||
public Builder addRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
Object value) {
|
||||
return (Builder) super.addRepeatedField(field, value);
|
||||
}
|
||||
public <Type> Builder setExtension(
|
||||
com.google.protobuf.GeneratedMessage.GeneratedExtension<
|
||||
mediapipe.MediapipeOptions.MediaPipeOptions, Type> extension,
|
||||
Type value) {
|
||||
return (Builder) super.setExtension(extension, value);
|
||||
}
|
||||
public <Type> Builder setExtension(
|
||||
com.google.protobuf.GeneratedMessage.GeneratedExtension<
|
||||
mediapipe.MediapipeOptions.MediaPipeOptions, java.util.List<Type>> extension,
|
||||
int index, Type value) {
|
||||
return (Builder) super.setExtension(extension, index, value);
|
||||
}
|
||||
public <Type> Builder addExtension(
|
||||
com.google.protobuf.GeneratedMessage.GeneratedExtension<
|
||||
mediapipe.MediapipeOptions.MediaPipeOptions, java.util.List<Type>> extension,
|
||||
Type value) {
|
||||
return (Builder) super.addExtension(extension, value);
|
||||
}
|
||||
public <Type> Builder clearExtension(
|
||||
com.google.protobuf.GeneratedMessage.GeneratedExtension<
|
||||
mediapipe.MediapipeOptions.MediaPipeOptions, ?> extension) {
|
||||
return (Builder) super.clearExtension(extension);
|
||||
}
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof mediapipe.MediapipeOptions.MediaPipeOptions) {
|
||||
return mergeFrom((mediapipe.MediapipeOptions.MediaPipeOptions)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(mediapipe.MediapipeOptions.MediaPipeOptions other) {
|
||||
if (other == mediapipe.MediapipeOptions.MediaPipeOptions.getDefaultInstance()) return this;
|
||||
this.mergeExtensionFields(other);
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
public final boolean isInitialized() {
|
||||
if (!extensionsAreInitialized()) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public Builder mergeFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
mediapipe.MediapipeOptions.MediaPipeOptions parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (mediapipe.MediapipeOptions.MediaPipeOptions) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.setUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
public final Builder mergeUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.mergeUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:mediapipe.MediaPipeOptions)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:mediapipe.MediaPipeOptions)
|
||||
private static final mediapipe.MediapipeOptions.MediaPipeOptions DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new mediapipe.MediapipeOptions.MediaPipeOptions();
|
||||
}
|
||||
|
||||
public static mediapipe.MediapipeOptions.MediaPipeOptions getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
@java.lang.Deprecated public static final com.google.protobuf.Parser<MediaPipeOptions>
|
||||
PARSER = new com.google.protobuf.AbstractParser<MediaPipeOptions>() {
|
||||
public MediaPipeOptions parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new MediaPipeOptions(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<MediaPipeOptions> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<MediaPipeOptions> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
public mediapipe.MediapipeOptions.MediaPipeOptions getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_mediapipe_MediaPipeOptions_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_mediapipe_MediaPipeOptions_fieldAccessorTable;
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
return descriptor;
|
||||
}
|
||||
private static com.google.protobuf.Descriptors.FileDescriptor
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n+mediapipe/framework/mediapipe_options." +
|
||||
"proto\022\tmediapipe\"\036\n\020MediaPipeOptions*\n\010\240" +
|
||||
"\234\001\020\200\200\200\200\002"
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
||||
public com.google.protobuf.ExtensionRegistry assignDescriptors(
|
||||
com.google.protobuf.Descriptors.FileDescriptor root) {
|
||||
descriptor = root;
|
||||
return null;
|
||||
}
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
}, assigner);
|
||||
internal_static_mediapipe_MediaPipeOptions_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_mediapipe_MediaPipeOptions_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_mediapipe_MediaPipeOptions_descriptor,
|
||||
new java.lang.String[] { });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
|
@ -0,0 +1,577 @@
|
|||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: mediapipe/gpu/scale_mode.proto
|
||||
|
||||
package mediapipe;
|
||||
|
||||
public final class ScaleModeOuterClass {
|
||||
private ScaleModeOuterClass() {}
|
||||
public static void registerAllExtensions(
|
||||
com.google.protobuf.ExtensionRegistryLite registry) {
|
||||
}
|
||||
|
||||
public static void registerAllExtensions(
|
||||
com.google.protobuf.ExtensionRegistry registry) {
|
||||
registerAllExtensions(
|
||||
(com.google.protobuf.ExtensionRegistryLite) registry);
|
||||
}
|
||||
public interface ScaleModeOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:mediapipe.ScaleMode)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* We wrap the enum in a message to avoid namespace collisions.
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code mediapipe.ScaleMode}
|
||||
*/
|
||||
public static final class ScaleMode extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:mediapipe.ScaleMode)
|
||||
ScaleModeOrBuilder {
|
||||
// Use ScaleMode.newBuilder() to construct.
|
||||
private ScaleMode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private ScaleMode() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private ScaleMode(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
this();
|
||||
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
||||
com.google.protobuf.UnknownFieldSet.newBuilder();
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
default: {
|
||||
if (!parseUnknownField(input, unknownFields,
|
||||
extensionRegistry, tag)) {
|
||||
done = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(this);
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(
|
||||
e).setUnfinishedMessage(this);
|
||||
} finally {
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return mediapipe.ScaleModeOuterClass.internal_static_mediapipe_ScaleMode_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return mediapipe.ScaleModeOuterClass.internal_static_mediapipe_ScaleMode_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
mediapipe.ScaleModeOuterClass.ScaleMode.class, mediapipe.ScaleModeOuterClass.ScaleMode.Builder.class);
|
||||
}
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* This enum mirrors the ScaleModes supported by Quad Renderer.
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf enum {@code mediapipe.ScaleMode.Mode}
|
||||
*/
|
||||
public enum Mode
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>DEFAULT = 0;</code>
|
||||
*/
|
||||
DEFAULT(0),
|
||||
/**
|
||||
* <pre>
|
||||
* Stretch the frame to the exact provided output dimensions.
|
||||
* </pre>
|
||||
*
|
||||
* <code>STRETCH = 1;</code>
|
||||
*/
|
||||
STRETCH(1),
|
||||
/**
|
||||
* <pre>
|
||||
* Scale the frame up to fit the drawing area, preserving aspect ratio; may
|
||||
* letterbox.
|
||||
* </pre>
|
||||
*
|
||||
* <code>FIT = 2;</code>
|
||||
*/
|
||||
FIT(2),
|
||||
/**
|
||||
* <pre>
|
||||
* Scale the frame up to fill the drawing area, preserving aspect ratio; may
|
||||
* crop.
|
||||
* </pre>
|
||||
*
|
||||
* <code>FILL_AND_CROP = 3;</code>
|
||||
*/
|
||||
FILL_AND_CROP(3),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>DEFAULT = 0;</code>
|
||||
*/
|
||||
public static final int DEFAULT_VALUE = 0;
|
||||
/**
|
||||
* <pre>
|
||||
* Stretch the frame to the exact provided output dimensions.
|
||||
* </pre>
|
||||
*
|
||||
* <code>STRETCH = 1;</code>
|
||||
*/
|
||||
public static final int STRETCH_VALUE = 1;
|
||||
/**
|
||||
* <pre>
|
||||
* Scale the frame up to fit the drawing area, preserving aspect ratio; may
|
||||
* letterbox.
|
||||
* </pre>
|
||||
*
|
||||
* <code>FIT = 2;</code>
|
||||
*/
|
||||
public static final int FIT_VALUE = 2;
|
||||
/**
|
||||
* <pre>
|
||||
* Scale the frame up to fill the drawing area, preserving aspect ratio; may
|
||||
* crop.
|
||||
* </pre>
|
||||
*
|
||||
* <code>FILL_AND_CROP = 3;</code>
|
||||
*/
|
||||
public static final int FILL_AND_CROP_VALUE = 3;
|
||||
|
||||
|
||||
public final int getNumber() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link #forNumber(int)} instead.
|
||||
*/
|
||||
@java.lang.Deprecated
|
||||
public static Mode valueOf(int value) {
|
||||
return forNumber(value);
|
||||
}
|
||||
|
||||
public static Mode forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return DEFAULT;
|
||||
case 1: return STRETCH;
|
||||
case 2: return FIT;
|
||||
case 3: return FILL_AND_CROP;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<Mode>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
Mode> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<Mode>() {
|
||||
public Mode findValueByNumber(int number) {
|
||||
return Mode.forNumber(number);
|
||||
}
|
||||
};
|
||||
|
||||
public final com.google.protobuf.Descriptors.EnumValueDescriptor
|
||||
getValueDescriptor() {
|
||||
return getDescriptor().getValues().get(ordinal());
|
||||
}
|
||||
public final com.google.protobuf.Descriptors.EnumDescriptor
|
||||
getDescriptorForType() {
|
||||
return getDescriptor();
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.EnumDescriptor
|
||||
getDescriptor() {
|
||||
return mediapipe.ScaleModeOuterClass.ScaleMode.getDescriptor().getEnumTypes().get(0);
|
||||
}
|
||||
|
||||
private static final Mode[] VALUES = values();
|
||||
|
||||
public static Mode valueOf(
|
||||
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
|
||||
if (desc.getType() != getDescriptor()) {
|
||||
throw new java.lang.IllegalArgumentException(
|
||||
"EnumValueDescriptor is not for this type.");
|
||||
}
|
||||
return VALUES[desc.getIndex()];
|
||||
}
|
||||
|
||||
private final int value;
|
||||
|
||||
private Mode(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:mediapipe.ScaleMode.Mode)
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
byte isInitialized = memoizedIsInitialized;
|
||||
if (isInitialized == 1) return true;
|
||||
if (isInitialized == 0) return false;
|
||||
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 0L;
|
||||
@java.lang.Override
|
||||
public boolean equals(final java.lang.Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof mediapipe.ScaleModeOuterClass.ScaleMode)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
mediapipe.ScaleModeOuterClass.ScaleMode other = (mediapipe.ScaleModeOuterClass.ScaleMode) obj;
|
||||
|
||||
boolean result = true;
|
||||
result = result && unknownFields.equals(other.unknownFields);
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
if (memoizedHashCode != 0) {
|
||||
return memoizedHashCode;
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptorForType().hashCode();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static mediapipe.ScaleModeOuterClass.ScaleMode parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static mediapipe.ScaleModeOuterClass.ScaleMode parseFrom(
|
||||
com.google.protobuf.ByteString data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static mediapipe.ScaleModeOuterClass.ScaleMode parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static mediapipe.ScaleModeOuterClass.ScaleMode parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static mediapipe.ScaleModeOuterClass.ScaleMode parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static mediapipe.ScaleModeOuterClass.ScaleMode parseFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static mediapipe.ScaleModeOuterClass.ScaleMode parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
public static mediapipe.ScaleModeOuterClass.ScaleMode parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static mediapipe.ScaleModeOuterClass.ScaleMode parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static mediapipe.ScaleModeOuterClass.ScaleMode parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
|
||||
public Builder newBuilderForType() { return newBuilder(); }
|
||||
public static Builder newBuilder() {
|
||||
return DEFAULT_INSTANCE.toBuilder();
|
||||
}
|
||||
public static Builder newBuilder(mediapipe.ScaleModeOuterClass.ScaleMode prototype) {
|
||||
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
||||
}
|
||||
public Builder toBuilder() {
|
||||
return this == DEFAULT_INSTANCE
|
||||
? new Builder() : new Builder().mergeFrom(this);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected Builder newBuilderForType(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* We wrap the enum in a message to avoid namespace collisions.
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code mediapipe.ScaleMode}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:mediapipe.ScaleMode)
|
||||
mediapipe.ScaleModeOuterClass.ScaleModeOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return mediapipe.ScaleModeOuterClass.internal_static_mediapipe_ScaleMode_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return mediapipe.ScaleModeOuterClass.internal_static_mediapipe_ScaleMode_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
mediapipe.ScaleModeOuterClass.ScaleMode.class, mediapipe.ScaleModeOuterClass.ScaleMode.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using mediapipe.ScaleModeOuterClass.ScaleMode.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
private void maybeForceBuilderInitialization() {
|
||||
if (com.google.protobuf.GeneratedMessageV3
|
||||
.alwaysUseFieldBuilders) {
|
||||
}
|
||||
}
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return mediapipe.ScaleModeOuterClass.internal_static_mediapipe_ScaleMode_descriptor;
|
||||
}
|
||||
|
||||
public mediapipe.ScaleModeOuterClass.ScaleMode getDefaultInstanceForType() {
|
||||
return mediapipe.ScaleModeOuterClass.ScaleMode.getDefaultInstance();
|
||||
}
|
||||
|
||||
public mediapipe.ScaleModeOuterClass.ScaleMode build() {
|
||||
mediapipe.ScaleModeOuterClass.ScaleMode result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public mediapipe.ScaleModeOuterClass.ScaleMode buildPartial() {
|
||||
mediapipe.ScaleModeOuterClass.ScaleMode result = new mediapipe.ScaleModeOuterClass.ScaleMode(this);
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
public Builder clone() {
|
||||
return (Builder) super.clone();
|
||||
}
|
||||
public Builder setField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
Object value) {
|
||||
return (Builder) super.setField(field, value);
|
||||
}
|
||||
public Builder clearField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
||||
return (Builder) super.clearField(field);
|
||||
}
|
||||
public Builder clearOneof(
|
||||
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
||||
return (Builder) super.clearOneof(oneof);
|
||||
}
|
||||
public Builder setRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
int index, Object value) {
|
||||
return (Builder) super.setRepeatedField(field, index, value);
|
||||
}
|
||||
public Builder addRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
Object value) {
|
||||
return (Builder) super.addRepeatedField(field, value);
|
||||
}
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof mediapipe.ScaleModeOuterClass.ScaleMode) {
|
||||
return mergeFrom((mediapipe.ScaleModeOuterClass.ScaleMode)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(mediapipe.ScaleModeOuterClass.ScaleMode other) {
|
||||
if (other == mediapipe.ScaleModeOuterClass.ScaleMode.getDefaultInstance()) return this;
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
public final boolean isInitialized() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public Builder mergeFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
mediapipe.ScaleModeOuterClass.ScaleMode parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (mediapipe.ScaleModeOuterClass.ScaleMode) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.setUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
public final Builder mergeUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.mergeUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:mediapipe.ScaleMode)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:mediapipe.ScaleMode)
|
||||
private static final mediapipe.ScaleModeOuterClass.ScaleMode DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new mediapipe.ScaleModeOuterClass.ScaleMode();
|
||||
}
|
||||
|
||||
public static mediapipe.ScaleModeOuterClass.ScaleMode getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
@java.lang.Deprecated public static final com.google.protobuf.Parser<ScaleMode>
|
||||
PARSER = new com.google.protobuf.AbstractParser<ScaleMode>() {
|
||||
public ScaleMode parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new ScaleMode(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<ScaleMode> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<ScaleMode> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
public mediapipe.ScaleModeOuterClass.ScaleMode getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_mediapipe_ScaleMode_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_mediapipe_ScaleMode_fieldAccessorTable;
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
return descriptor;
|
||||
}
|
||||
private static com.google.protobuf.Descriptors.FileDescriptor
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\036mediapipe/gpu/scale_mode.proto\022\tmediap" +
|
||||
"ipe\"I\n\tScaleMode\"<\n\004Mode\022\013\n\007DEFAULT\020\000\022\013\n" +
|
||||
"\007STRETCH\020\001\022\007\n\003FIT\020\002\022\021\n\rFILL_AND_CROP\020\003"
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
||||
public com.google.protobuf.ExtensionRegistry assignDescriptors(
|
||||
com.google.protobuf.Descriptors.FileDescriptor root) {
|
||||
descriptor = root;
|
||||
return null;
|
||||
}
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
}, assigner);
|
||||
internal_static_mediapipe_ScaleMode_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_mediapipe_ScaleMode_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_mediapipe_ScaleMode_descriptor,
|
||||
new java.lang.String[] { });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<path
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
|
||||
android:strokeWidth="1"
|
||||
android:strokeColor="#00000000">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="78.5885"
|
||||
android:endY="90.9159"
|
||||
android:startX="48.7653"
|
||||
android:startY="61.0927"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#44000000"
|
||||
android:offset="0.0" />
|
||||
<item
|
||||
android:color="#00000000"
|
||||
android:offset="1.0" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillType="nonZero"
|
||||
android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
|
||||
android:strokeWidth="1"
|
||||
android:strokeColor="#00000000" />
|
||||
</vector>
|
|
@ -0,0 +1,170 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<path
|
||||
android:fillColor="#008577"
|
||||
android:pathData="M0,0h108v108h-108z" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M9,0L9,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,0L19,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,0L29,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,0L39,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,0L49,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,0L59,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,0L69,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,0L79,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M89,0L89,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M99,0L99,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,9L108,9"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,19L108,19"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,29L108,29"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,39L108,39"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,49L108,49"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,59L108,59"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,69L108,69"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,79L108,79"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,89L108,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,99L108,99"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,29L89,29"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,39L89,39"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,49L89,49"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,59L89,59"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,69L89,69"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,79L89,79"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,19L29,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,19L39,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,19L49,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,19L59,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,19L69,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,19L79,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
</vector>
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".SplashScreen">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:srcCompat="@drawable/logo"
|
||||
tools:layout_editor_absoluteX="99dp"
|
||||
tools:layout_editor_absoluteY="259dp" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/icon" />
|
||||
<foreground android:drawable="@drawable/icon" />
|
||||
</adaptive-icon>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/icon" />
|
||||
<foreground android:drawable="@drawable/icon" />
|
||||
</adaptive-icon>
|
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 6.7 KiB |
After Width: | Height: | Size: 6.2 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 8.9 KiB |
After Width: | Height: | Size: 15 KiB |
|
@ -1,5 +1,5 @@
|
|||
<resources>
|
||||
<string name="app_name">Hand Tracking GPU</string>
|
||||
<string name="app_name">Isharay</string>
|
||||
<string name="no_camera_access" translatable="false">Please grant camera permissions.</string>
|
||||
|
||||
</resources>
|
||||
|
|