Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

feat(generator): update protoc to v3.15.3 #372

Merged
merged 1 commit into from Mar 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -34360,6 +34360,24 @@ public SourceCase getSourceCase() {
}

public static final int URI_FIELD_NUMBER = 1;
/**
*
*
* <pre>
* Currently supports Google Cloud Storage URI of the form
* `gs://bucket_name/object_name`. Object versioning is not supported.
* See [Google Cloud Storage Request
* URIs](https://cloud.google.com/storage/docs/reference-uris) for more
* info.
* </pre>
*
* <code>string uri = 1;</code>
*
* @return Whether the uri field is set.
*/
public boolean hasUri() {
return sourceCase_ == 1;
}
/**
*
*
Expand Down Expand Up @@ -34424,6 +34442,23 @@ public com.google.protobuf.ByteString getUriBytes() {
}

public static final int CONTENT_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* Inline document content, represented as a stream of bytes.
* Note: As with all `bytes` fields, protobuffers use a pure binary
* representation, whereas JSON representations use base64.
* </pre>
*
* <code>bytes content = 2;</code>
*
* @return Whether the content field is set.
*/
@java.lang.Override
public boolean hasContent() {
return sourceCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -35646,6 +35681,25 @@ public Builder clearSource() {

private int bitField0_;

/**
*
*
* <pre>
* Currently supports Google Cloud Storage URI of the form
* `gs://bucket_name/object_name`. Object versioning is not supported.
* See [Google Cloud Storage Request
* URIs](https://cloud.google.com/storage/docs/reference-uris) for more
* info.
* </pre>
*
* <code>string uri = 1;</code>
*
* @return Whether the uri field is set.
*/
@java.lang.Override
public boolean hasUri() {
return sourceCase_ == 1;
}
/**
*
*
Expand Down Expand Up @@ -35785,6 +35839,22 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) {
return this;
}

/**
*
*
* <pre>
* Inline document content, represented as a stream of bytes.
* Note: As with all `bytes` fields, protobuffers use a pure binary
* representation, whereas JSON representations use base64.
* </pre>
*
* <code>bytes content = 2;</code>
*
* @return Whether the content field is set.
*/
public boolean hasContent() {
return sourceCase_ == 2;
}
/**
*
*
Expand Down
Expand Up @@ -23,6 +23,22 @@ public interface DocumentOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta1.Document)
com.google.protobuf.MessageOrBuilder {

/**
*
*
* <pre>
* Currently supports Google Cloud Storage URI of the form
* `gs://bucket_name/object_name`. Object versioning is not supported.
* See [Google Cloud Storage Request
* URIs](https://cloud.google.com/storage/docs/reference-uris) for more
* info.
* </pre>
*
* <code>string uri = 1;</code>
*
* @return Whether the uri field is set.
*/
boolean hasUri();
/**
*
*
Expand Down Expand Up @@ -56,6 +72,20 @@ public interface DocumentOrBuilder
*/
com.google.protobuf.ByteString getUriBytes();

/**
*
*
* <pre>
* Inline document content, represented as a stream of bytes.
* Note: As with all `bytes` fields, protobuffers use a pure binary
* representation, whereas JSON representations use base64.
* </pre>
*
* <code>bytes content = 2;</code>
*
* @return Whether the content field is set.
*/
boolean hasContent();
/**
*
*
Expand Down
Expand Up @@ -1025,6 +1025,21 @@ public interface LabelOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta2.Document.Label)
com.google.protobuf.MessageOrBuilder {

/**
*
*
* <pre>
* Label is generated AutoML model. This field stores the full resource
* name of the AutoML model.
* Format:
* `projects/{project-id}/locations/{location-id}/models/{model-id}`
* </pre>
*
* <code>string automl_model = 2;</code>
*
* @return Whether the automlModel field is set.
*/
boolean hasAutomlModel();
/**
*
*
Expand Down Expand Up @@ -1253,6 +1268,23 @@ public SourceCase getSourceCase() {
}

public static final int AUTOML_MODEL_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* Label is generated AutoML model. This field stores the full resource
* name of the AutoML model.
* Format:
* `projects/{project-id}/locations/{location-id}/models/{model-id}`
* </pre>
*
* <code>string automl_model = 2;</code>
*
* @return Whether the automlModel field is set.
*/
public boolean hasAutomlModel() {
return sourceCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -1781,6 +1813,24 @@ public Builder clearSource() {
return this;
}

/**
*
*
* <pre>
* Label is generated AutoML model. This field stores the full resource
* name of the AutoML model.
* Format:
* `projects/{project-id}/locations/{location-id}/models/{model-id}`
* </pre>
*
* <code>string automl_model = 2;</code>
*
* @return Whether the automlModel field is set.
*/
@java.lang.Override
public boolean hasAutomlModel() {
return sourceCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -39378,6 +39428,24 @@ public SourceCase getSourceCase() {
}

public static final int URI_FIELD_NUMBER = 1;
/**
*
*
* <pre>
* Currently supports Google Cloud Storage URI of the form
* `gs://bucket_name/object_name`. Object versioning is not supported.
* See [Google Cloud Storage Request
* URIs](https://cloud.google.com/storage/docs/reference-uris) for more
* info.
* </pre>
*
* <code>string uri = 1;</code>
*
* @return Whether the uri field is set.
*/
public boolean hasUri() {
return sourceCase_ == 1;
}
/**
*
*
Expand Down Expand Up @@ -39442,6 +39510,23 @@ public com.google.protobuf.ByteString getUriBytes() {
}

public static final int CONTENT_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* Inline document content, represented as a stream of bytes.
* Note: As with all `bytes` fields, protobuffers use a pure binary
* representation, whereas JSON representations use base64.
* </pre>
*
* <code>bytes content = 2;</code>
*
* @return Whether the content field is set.
*/
@java.lang.Override
public boolean hasContent() {
return sourceCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -40767,6 +40852,25 @@ public Builder clearSource() {

private int bitField0_;

/**
*
*
* <pre>
* Currently supports Google Cloud Storage URI of the form
* `gs://bucket_name/object_name`. Object versioning is not supported.
* See [Google Cloud Storage Request
* URIs](https://cloud.google.com/storage/docs/reference-uris) for more
* info.
* </pre>
*
* <code>string uri = 1;</code>
*
* @return Whether the uri field is set.
*/
@java.lang.Override
public boolean hasUri() {
return sourceCase_ == 1;
}
/**
*
*
Expand Down Expand Up @@ -40906,6 +41010,22 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) {
return this;
}

/**
*
*
* <pre>
* Inline document content, represented as a stream of bytes.
* Note: As with all `bytes` fields, protobuffers use a pure binary
* representation, whereas JSON representations use base64.
* </pre>
*
* <code>bytes content = 2;</code>
*
* @return Whether the content field is set.
*/
public boolean hasContent() {
return sourceCase_ == 2;
}
/**
*
*
Expand Down
Expand Up @@ -23,6 +23,22 @@ public interface DocumentOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta2.Document)
com.google.protobuf.MessageOrBuilder {

/**
*
*
* <pre>
* Currently supports Google Cloud Storage URI of the form
* `gs://bucket_name/object_name`. Object versioning is not supported.
* See [Google Cloud Storage Request
* URIs](https://cloud.google.com/storage/docs/reference-uris) for more
* info.
* </pre>
*
* <code>string uri = 1;</code>
*
* @return Whether the uri field is set.
*/
boolean hasUri();
/**
*
*
Expand Down Expand Up @@ -56,6 +72,20 @@ public interface DocumentOrBuilder
*/
com.google.protobuf.ByteString getUriBytes();

/**
*
*
* <pre>
* Inline document content, represented as a stream of bytes.
* Note: As with all `bytes` fields, protobuffers use a pure binary
* representation, whereas JSON representations use base64.
* </pre>
*
* <code>bytes content = 2;</code>
*
* @return Whether the content field is set.
*/
boolean hasContent();
/**
*
*
Expand Down