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

Commit

Permalink
docs(regen): updated javadocs from protoc update (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and chingor13 committed Dec 18, 2019
1 parent dc477ee commit a87d161
Show file tree
Hide file tree
Showing 330 changed files with 13,415 additions and 1,361 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ private AcceleratorConfig() {
acceleratorTypeUri_ = "";
}

@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new AcceleratorConfig();
}

@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
Expand All @@ -55,7 +61,6 @@ private AcceleratorConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
Expand Down Expand Up @@ -134,6 +139,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* </pre>
*
* <code>string accelerator_type_uri = 1;</code>
*
* @return The acceleratorTypeUri.
*/
public java.lang.String getAcceleratorTypeUri() {
java.lang.Object ref = acceleratorTypeUri_;
Expand Down Expand Up @@ -166,6 +173,8 @@ public java.lang.String getAcceleratorTypeUri() {
* </pre>
*
* <code>string accelerator_type_uri = 1;</code>
*
* @return The bytes for acceleratorTypeUri.
*/
public com.google.protobuf.ByteString getAcceleratorTypeUriBytes() {
java.lang.Object ref = acceleratorTypeUri_;
Expand All @@ -189,6 +198,8 @@ public com.google.protobuf.ByteString getAcceleratorTypeUriBytes() {
* </pre>
*
* <code>int32 accelerator_count = 2;</code>
*
* @return The acceleratorCount.
*/
public int getAcceleratorCount() {
return acceleratorCount_;
Expand Down Expand Up @@ -547,6 +558,8 @@ public Builder mergeFrom(
* </pre>
*
* <code>string accelerator_type_uri = 1;</code>
*
* @return The acceleratorTypeUri.
*/
public java.lang.String getAcceleratorTypeUri() {
java.lang.Object ref = acceleratorTypeUri_;
Expand Down Expand Up @@ -579,6 +592,8 @@ public java.lang.String getAcceleratorTypeUri() {
* </pre>
*
* <code>string accelerator_type_uri = 1;</code>
*
* @return The bytes for acceleratorTypeUri.
*/
public com.google.protobuf.ByteString getAcceleratorTypeUriBytes() {
java.lang.Object ref = acceleratorTypeUri_;
Expand Down Expand Up @@ -611,6 +626,9 @@ public com.google.protobuf.ByteString getAcceleratorTypeUriBytes() {
* </pre>
*
* <code>string accelerator_type_uri = 1;</code>
*
* @param value The acceleratorTypeUri to set.
* @return This builder for chaining.
*/
public Builder setAcceleratorTypeUri(java.lang.String value) {
if (value == null) {
Expand Down Expand Up @@ -641,6 +659,8 @@ public Builder setAcceleratorTypeUri(java.lang.String value) {
* </pre>
*
* <code>string accelerator_type_uri = 1;</code>
*
* @return This builder for chaining.
*/
public Builder clearAcceleratorTypeUri() {

Expand Down Expand Up @@ -668,6 +688,9 @@ public Builder clearAcceleratorTypeUri() {
* </pre>
*
* <code>string accelerator_type_uri = 1;</code>
*
* @param value The bytes for acceleratorTypeUri to set.
* @return This builder for chaining.
*/
public Builder setAcceleratorTypeUriBytes(com.google.protobuf.ByteString value) {
if (value == null) {
Expand All @@ -689,6 +712,8 @@ public Builder setAcceleratorTypeUriBytes(com.google.protobuf.ByteString value)
* </pre>
*
* <code>int32 accelerator_count = 2;</code>
*
* @return The acceleratorCount.
*/
public int getAcceleratorCount() {
return acceleratorCount_;
Expand All @@ -701,6 +726,9 @@ public int getAcceleratorCount() {
* </pre>
*
* <code>int32 accelerator_count = 2;</code>
*
* @param value The acceleratorCount to set.
* @return This builder for chaining.
*/
public Builder setAcceleratorCount(int value) {

Expand All @@ -716,6 +744,8 @@ public Builder setAcceleratorCount(int value) {
* </pre>
*
* <code>int32 accelerator_count = 2;</code>
*
* @return This builder for chaining.
*/
public Builder clearAcceleratorCount() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ public interface AcceleratorConfigOrBuilder
* </pre>
*
* <code>string accelerator_type_uri = 1;</code>
*
* @return The acceleratorTypeUri.
*/
java.lang.String getAcceleratorTypeUri();
/**
Expand All @@ -65,6 +67,8 @@ public interface AcceleratorConfigOrBuilder
* </pre>
*
* <code>string accelerator_type_uri = 1;</code>
*
* @return The bytes for acceleratorTypeUri.
*/
com.google.protobuf.ByteString getAcceleratorTypeUriBytes();

Expand All @@ -76,6 +80,8 @@ public interface AcceleratorConfigOrBuilder
* </pre>
*
* <code>int32 accelerator_count = 2;</code>
*
* @return The acceleratorCount.
*/
int getAcceleratorCount();
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ private AutoscalingConfig() {
policyUri_ = "";
}

@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new AutoscalingConfig();
}

@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
Expand All @@ -54,7 +60,6 @@ private AutoscalingConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
Expand Down Expand Up @@ -121,6 +126,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* </pre>
*
* <code>string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The policyUri.
*/
public java.lang.String getPolicyUri() {
java.lang.Object ref = policyUri_;
Expand All @@ -146,6 +153,8 @@ public java.lang.String getPolicyUri() {
* </pre>
*
* <code>string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The bytes for policyUri.
*/
public com.google.protobuf.ByteString getPolicyUriBytes() {
java.lang.Object ref = policyUri_;
Expand Down Expand Up @@ -489,6 +498,8 @@ public Builder mergeFrom(
* </pre>
*
* <code>string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The policyUri.
*/
public java.lang.String getPolicyUri() {
java.lang.Object ref = policyUri_;
Expand All @@ -514,6 +525,8 @@ public java.lang.String getPolicyUri() {
* </pre>
*
* <code>string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The bytes for policyUri.
*/
public com.google.protobuf.ByteString getPolicyUriBytes() {
java.lang.Object ref = policyUri_;
Expand All @@ -539,6 +552,9 @@ public com.google.protobuf.ByteString getPolicyUriBytes() {
* </pre>
*
* <code>string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @param value The policyUri to set.
* @return This builder for chaining.
*/
public Builder setPolicyUri(java.lang.String value) {
if (value == null) {
Expand All @@ -562,6 +578,8 @@ public Builder setPolicyUri(java.lang.String value) {
* </pre>
*
* <code>string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return This builder for chaining.
*/
public Builder clearPolicyUri() {

Expand All @@ -582,6 +600,9 @@ public Builder clearPolicyUri() {
* </pre>
*
* <code>string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @param value The bytes for policyUri to set.
* @return This builder for chaining.
*/
public Builder setPolicyUriBytes(com.google.protobuf.ByteString value) {
if (value == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ public interface AutoscalingConfigOrBuilder
* </pre>
*
* <code>string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The policyUri.
*/
java.lang.String getPolicyUri();
/**
Expand All @@ -51,6 +53,8 @@ public interface AutoscalingConfigOrBuilder
* </pre>
*
* <code>string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The bytes for policyUri.
*/
com.google.protobuf.ByteString getPolicyUriBytes();
}
Original file line number Diff line number Diff line change
Expand Up @@ -166,25 +166,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "e.golang.org/genproto/googleapis/cloud/d"
+ "ataproc/v1;dataprocb\006proto3"
};
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.api.AnnotationsProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.protobuf.DurationProto.getDescriptor(),
com.google.protobuf.EmptyProto.getDescriptor(),
com.google.api.ClientProto.getDescriptor(),
},
assigner);
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.protobuf.DurationProto.getDescriptor(),
com.google.protobuf.EmptyProto.getDescriptor(),
com.google.api.ClientProto.getDescriptor(),
});
internal_static_google_cloud_dataproc_v1_AutoscalingPolicy_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_cloud_dataproc_v1_AutoscalingPolicy_fieldAccessorTable =
Expand Down
Loading

0 comments on commit a87d161

Please sign in to comment.