diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AcceleratorConfig.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AcceleratorConfig.java index 726181ae..cc0b2316 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AcceleratorConfig.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AcceleratorConfig.java @@ -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; @@ -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 { @@ -134,6 +139,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string accelerator_type_uri = 1; + * + * @return The acceleratorTypeUri. */ public java.lang.String getAcceleratorTypeUri() { java.lang.Object ref = acceleratorTypeUri_; @@ -166,6 +173,8 @@ public java.lang.String getAcceleratorTypeUri() { * * * string accelerator_type_uri = 1; + * + * @return The bytes for acceleratorTypeUri. */ public com.google.protobuf.ByteString getAcceleratorTypeUriBytes() { java.lang.Object ref = acceleratorTypeUri_; @@ -189,6 +198,8 @@ public com.google.protobuf.ByteString getAcceleratorTypeUriBytes() { * * * int32 accelerator_count = 2; + * + * @return The acceleratorCount. */ public int getAcceleratorCount() { return acceleratorCount_; @@ -547,6 +558,8 @@ public Builder mergeFrom( * * * string accelerator_type_uri = 1; + * + * @return The acceleratorTypeUri. */ public java.lang.String getAcceleratorTypeUri() { java.lang.Object ref = acceleratorTypeUri_; @@ -579,6 +592,8 @@ public java.lang.String getAcceleratorTypeUri() { * * * string accelerator_type_uri = 1; + * + * @return The bytes for acceleratorTypeUri. */ public com.google.protobuf.ByteString getAcceleratorTypeUriBytes() { java.lang.Object ref = acceleratorTypeUri_; @@ -611,6 +626,9 @@ public com.google.protobuf.ByteString getAcceleratorTypeUriBytes() { * * * string accelerator_type_uri = 1; + * + * @param value The acceleratorTypeUri to set. + * @return This builder for chaining. */ public Builder setAcceleratorTypeUri(java.lang.String value) { if (value == null) { @@ -641,6 +659,8 @@ public Builder setAcceleratorTypeUri(java.lang.String value) { * * * string accelerator_type_uri = 1; + * + * @return This builder for chaining. */ public Builder clearAcceleratorTypeUri() { @@ -668,6 +688,9 @@ public Builder clearAcceleratorTypeUri() { * * * string accelerator_type_uri = 1; + * + * @param value The bytes for acceleratorTypeUri to set. + * @return This builder for chaining. */ public Builder setAcceleratorTypeUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -689,6 +712,8 @@ public Builder setAcceleratorTypeUriBytes(com.google.protobuf.ByteString value) * * * int32 accelerator_count = 2; + * + * @return The acceleratorCount. */ public int getAcceleratorCount() { return acceleratorCount_; @@ -701,6 +726,9 @@ public int getAcceleratorCount() { * * * int32 accelerator_count = 2; + * + * @param value The acceleratorCount to set. + * @return This builder for chaining. */ public Builder setAcceleratorCount(int value) { @@ -716,6 +744,8 @@ public Builder setAcceleratorCount(int value) { * * * int32 accelerator_count = 2; + * + * @return This builder for chaining. */ public Builder clearAcceleratorCount() { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AcceleratorConfigOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AcceleratorConfigOrBuilder.java index 356116b3..46f8e7f2 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AcceleratorConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AcceleratorConfigOrBuilder.java @@ -43,6 +43,8 @@ public interface AcceleratorConfigOrBuilder * * * string accelerator_type_uri = 1; + * + * @return The acceleratorTypeUri. */ java.lang.String getAcceleratorTypeUri(); /** @@ -65,6 +67,8 @@ public interface AcceleratorConfigOrBuilder * * * string accelerator_type_uri = 1; + * + * @return The bytes for acceleratorTypeUri. */ com.google.protobuf.ByteString getAcceleratorTypeUriBytes(); @@ -76,6 +80,8 @@ public interface AcceleratorConfigOrBuilder * * * int32 accelerator_count = 2; + * + * @return The acceleratorCount. */ int getAcceleratorCount(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingConfig.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingConfig.java index ac45b1f4..bca3054c 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingConfig.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingConfig.java @@ -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; @@ -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 { @@ -121,6 +126,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The policyUri. */ public java.lang.String getPolicyUri() { java.lang.Object ref = policyUri_; @@ -146,6 +153,8 @@ public java.lang.String getPolicyUri() { * * * string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for policyUri. */ public com.google.protobuf.ByteString getPolicyUriBytes() { java.lang.Object ref = policyUri_; @@ -489,6 +498,8 @@ public Builder mergeFrom( * * * string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The policyUri. */ public java.lang.String getPolicyUri() { java.lang.Object ref = policyUri_; @@ -514,6 +525,8 @@ public java.lang.String getPolicyUri() { * * * string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for policyUri. */ public com.google.protobuf.ByteString getPolicyUriBytes() { java.lang.Object ref = policyUri_; @@ -539,6 +552,9 @@ public com.google.protobuf.ByteString getPolicyUriBytes() { * * * string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The policyUri to set. + * @return This builder for chaining. */ public Builder setPolicyUri(java.lang.String value) { if (value == null) { @@ -562,6 +578,8 @@ public Builder setPolicyUri(java.lang.String value) { * * * string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearPolicyUri() { @@ -582,6 +600,9 @@ public Builder clearPolicyUri() { * * * string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for policyUri to set. + * @return This builder for chaining. */ public Builder setPolicyUriBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingConfigOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingConfigOrBuilder.java index 93c929a0..22fb59af 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingConfigOrBuilder.java @@ -36,6 +36,8 @@ public interface AutoscalingConfigOrBuilder * * * string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The policyUri. */ java.lang.String getPolicyUri(); /** @@ -51,6 +53,8 @@ public interface AutoscalingConfigOrBuilder * * * string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for policyUri. */ com.google.protobuf.ByteString getPolicyUriBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPoliciesProto.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPoliciesProto.java index c1e3c5c6..e5ec9875 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPoliciesProto.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPoliciesProto.java @@ -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 = diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicy.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicy.java index 2aed9d10..08f2df29 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicy.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicy.java @@ -42,6 +42,12 @@ private AutoscalingPolicy() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AutoscalingPolicy(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private AutoscalingPolicy( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -173,7 +178,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int algorithmCase_ = 0; private java.lang.Object algorithm_; - public enum AlgorithmCase implements com.google.protobuf.Internal.EnumLite { + public enum AlgorithmCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { BASIC_ALGORITHM(3), ALGORITHM_NOT_SET(0); private final int value; @@ -181,7 +189,11 @@ public enum AlgorithmCase implements com.google.protobuf.Internal.EnumLite { private AlgorithmCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static AlgorithmCase valueOf(int value) { return forNumber(value); @@ -220,6 +232,8 @@ public AlgorithmCase getAlgorithmCase() { * * * string id = 1; + * + * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; @@ -243,6 +257,8 @@ public java.lang.String getId() { * * * string id = 1; + * + * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; @@ -273,6 +289,8 @@ public com.google.protobuf.ByteString getIdBytes() { * * * string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -300,6 +318,8 @@ public java.lang.String getName() { * * * string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -318,6 +338,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * .google.cloud.dataproc.v1.BasicAutoscalingAlgorithm basic_algorithm = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the basicAlgorithm field is set. */ public boolean hasBasicAlgorithm() { return algorithmCase_ == 3; @@ -326,6 +348,8 @@ public boolean hasBasicAlgorithm() { * * .google.cloud.dataproc.v1.BasicAutoscalingAlgorithm basic_algorithm = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The basicAlgorithm. */ public com.google.cloud.dataproc.v1.BasicAutoscalingAlgorithm getBasicAlgorithm() { if (algorithmCase_ == 3) { @@ -358,6 +382,8 @@ public com.google.cloud.dataproc.v1.BasicAutoscalingAlgorithm getBasicAlgorithm( * * .google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the workerConfig field is set. */ public boolean hasWorkerConfig() { return workerConfig_ != null; @@ -372,6 +398,8 @@ public boolean hasWorkerConfig() { * * .google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The workerConfig. */ public com.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig getWorkerConfig() { return workerConfig_ == null @@ -406,6 +434,8 @@ public com.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig getWork * * .google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the secondaryWorkerConfig field is set. */ public boolean hasSecondaryWorkerConfig() { return secondaryWorkerConfig_ != null; @@ -420,6 +450,8 @@ public boolean hasSecondaryWorkerConfig() { * * .google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The secondaryWorkerConfig. */ public com.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig getSecondaryWorkerConfig() { @@ -903,6 +935,8 @@ public Builder clearAlgorithm() { * * * string id = 1; + * + * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; @@ -926,6 +960,8 @@ public java.lang.String getId() { * * * string id = 1; + * + * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; @@ -949,6 +985,9 @@ public com.google.protobuf.ByteString getIdBytes() { * * * string id = 1; + * + * @param value The id to set. + * @return This builder for chaining. */ public Builder setId(java.lang.String value) { if (value == null) { @@ -970,6 +1009,8 @@ public Builder setId(java.lang.String value) { * * * string id = 1; + * + * @return This builder for chaining. */ public Builder clearId() { @@ -988,6 +1029,9 @@ public Builder clearId() { * * * string id = 1; + * + * @param value The bytes for id to set. + * @return This builder for chaining. */ public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1016,6 +1060,8 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { * * * string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -1043,6 +1089,8 @@ public java.lang.String getName() { * * * string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -1070,6 +1118,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -1095,6 +1146,8 @@ public Builder setName(java.lang.String value) { * * * string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -1117,6 +1170,9 @@ public Builder clearName() { * * * string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1138,6 +1194,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1.BasicAutoscalingAlgorithm basic_algorithm = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the basicAlgorithm field is set. */ public boolean hasBasicAlgorithm() { return algorithmCase_ == 3; @@ -1146,6 +1204,8 @@ public boolean hasBasicAlgorithm() { * * .google.cloud.dataproc.v1.BasicAutoscalingAlgorithm basic_algorithm = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The basicAlgorithm. */ public com.google.cloud.dataproc.v1.BasicAutoscalingAlgorithm getBasicAlgorithm() { if (basicAlgorithmBuilder_ == null) { @@ -1315,6 +1375,8 @@ public Builder clearBasicAlgorithm() { * * .google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the workerConfig field is set. */ public boolean hasWorkerConfig() { return workerConfigBuilder_ != null || workerConfig_ != null; @@ -1329,6 +1391,8 @@ public boolean hasWorkerConfig() { * * .google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The workerConfig. */ public com.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig getWorkerConfig() { if (workerConfigBuilder_ == null) { @@ -1521,6 +1585,8 @@ public Builder clearWorkerConfig() { * * .google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the secondaryWorkerConfig field is set. */ public boolean hasSecondaryWorkerConfig() { return secondaryWorkerConfigBuilder_ != null || secondaryWorkerConfig_ != null; @@ -1535,6 +1601,8 @@ public boolean hasSecondaryWorkerConfig() { * * .google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The secondaryWorkerConfig. */ public com.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig getSecondaryWorkerConfig() { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyOrBuilder.java index fb6e6c7f..57075e4b 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyOrBuilder.java @@ -34,6 +34,8 @@ public interface AutoscalingPolicyOrBuilder * * * string id = 1; + * + * @return The id. */ java.lang.String getId(); /** @@ -47,6 +49,8 @@ public interface AutoscalingPolicyOrBuilder * * * string id = 1; + * + * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); @@ -65,6 +69,8 @@ public interface AutoscalingPolicyOrBuilder * * * string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ java.lang.String getName(); /** @@ -82,6 +88,8 @@ public interface AutoscalingPolicyOrBuilder * * * string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -89,12 +97,16 @@ public interface AutoscalingPolicyOrBuilder * * .google.cloud.dataproc.v1.BasicAutoscalingAlgorithm basic_algorithm = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the basicAlgorithm field is set. */ boolean hasBasicAlgorithm(); /** * * .google.cloud.dataproc.v1.BasicAutoscalingAlgorithm basic_algorithm = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The basicAlgorithm. */ com.google.cloud.dataproc.v1.BasicAutoscalingAlgorithm getBasicAlgorithm(); /** @@ -114,6 +126,8 @@ public interface AutoscalingPolicyOrBuilder * * .google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the workerConfig field is set. */ boolean hasWorkerConfig(); /** @@ -126,6 +140,8 @@ public interface AutoscalingPolicyOrBuilder * * .google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The workerConfig. */ com.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig getWorkerConfig(); /** @@ -152,6 +168,8 @@ public interface AutoscalingPolicyOrBuilder * * .google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the secondaryWorkerConfig field is set. */ boolean hasSecondaryWorkerConfig(); /** @@ -164,6 +182,8 @@ public interface AutoscalingPolicyOrBuilder * * .google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The secondaryWorkerConfig. */ com.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig getSecondaryWorkerConfig(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BasicAutoscalingAlgorithm.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BasicAutoscalingAlgorithm.java index b7537f9a..41f3fc7b 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BasicAutoscalingAlgorithm.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BasicAutoscalingAlgorithm.java @@ -39,6 +39,12 @@ private BasicAutoscalingAlgorithm(com.google.protobuf.GeneratedMessageV3.Builder private BasicAutoscalingAlgorithm() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BasicAutoscalingAlgorithm(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private BasicAutoscalingAlgorithm( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -141,6 +146,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * .google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the yarnConfig field is set. */ public boolean hasYarnConfig() { return yarnConfig_ != null; @@ -155,6 +162,8 @@ public boolean hasYarnConfig() { * * .google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The yarnConfig. */ public com.google.cloud.dataproc.v1.BasicYarnAutoscalingConfig getYarnConfig() { return yarnConfig_ == null @@ -189,6 +198,8 @@ public com.google.cloud.dataproc.v1.BasicYarnAutoscalingConfigOrBuilder getYarnC * * .google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the cooldownPeriod field is set. */ public boolean hasCooldownPeriod() { return cooldownPeriod_ != null; @@ -204,6 +215,8 @@ public boolean hasCooldownPeriod() { * * .google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The cooldownPeriod. */ public com.google.protobuf.Duration getCooldownPeriod() { return cooldownPeriod_ == null @@ -601,6 +614,8 @@ public Builder mergeFrom( * * .google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the yarnConfig field is set. */ public boolean hasYarnConfig() { return yarnConfigBuilder_ != null || yarnConfig_ != null; @@ -615,6 +630,8 @@ public boolean hasYarnConfig() { * * .google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The yarnConfig. */ public com.google.cloud.dataproc.v1.BasicYarnAutoscalingConfig getYarnConfig() { if (yarnConfigBuilder_ == null) { @@ -804,6 +821,8 @@ public com.google.cloud.dataproc.v1.BasicYarnAutoscalingConfig.Builder getYarnCo * * .google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the cooldownPeriod field is set. */ public boolean hasCooldownPeriod() { return cooldownPeriodBuilder_ != null || cooldownPeriod_ != null; @@ -820,6 +839,8 @@ public boolean hasCooldownPeriod() { * * .google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The cooldownPeriod. */ public com.google.protobuf.Duration getCooldownPeriod() { if (cooldownPeriodBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BasicAutoscalingAlgorithmOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BasicAutoscalingAlgorithmOrBuilder.java index 752cfaad..6e2a02f1 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BasicAutoscalingAlgorithmOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BasicAutoscalingAlgorithmOrBuilder.java @@ -33,6 +33,8 @@ public interface BasicAutoscalingAlgorithmOrBuilder * * .google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the yarnConfig field is set. */ boolean hasYarnConfig(); /** @@ -45,6 +47,8 @@ public interface BasicAutoscalingAlgorithmOrBuilder * * .google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The yarnConfig. */ com.google.cloud.dataproc.v1.BasicYarnAutoscalingConfig getYarnConfig(); /** @@ -71,6 +75,8 @@ public interface BasicAutoscalingAlgorithmOrBuilder * * .google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the cooldownPeriod field is set. */ boolean hasCooldownPeriod(); /** @@ -84,6 +90,8 @@ public interface BasicAutoscalingAlgorithmOrBuilder * * .google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The cooldownPeriod. */ com.google.protobuf.Duration getCooldownPeriod(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BasicYarnAutoscalingConfig.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BasicYarnAutoscalingConfig.java index 01f3aa41..e1964838 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BasicYarnAutoscalingConfig.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BasicYarnAutoscalingConfig.java @@ -39,6 +39,12 @@ private BasicYarnAutoscalingConfig(com.google.protobuf.GeneratedMessageV3.Builde private BasicYarnAutoscalingConfig() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BasicYarnAutoscalingConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private BasicYarnAutoscalingConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -148,6 +153,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * .google.protobuf.Duration graceful_decommission_timeout = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the gracefulDecommissionTimeout field is set. */ public boolean hasGracefulDecommissionTimeout() { return gracefulDecommissionTimeout_ != null; @@ -166,6 +173,8 @@ public boolean hasGracefulDecommissionTimeout() { * * .google.protobuf.Duration graceful_decommission_timeout = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The gracefulDecommissionTimeout. */ public com.google.protobuf.Duration getGracefulDecommissionTimeout() { return gracefulDecommissionTimeout_ == null @@ -206,6 +215,8 @@ public com.google.protobuf.DurationOrBuilder getGracefulDecommissionTimeoutOrBui * * * double scale_up_factor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The scaleUpFactor. */ public double getScaleUpFactor() { return scaleUpFactor_; @@ -226,6 +237,8 @@ public double getScaleUpFactor() { * * * double scale_down_factor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The scaleDownFactor. */ public double getScaleDownFactor() { return scaleDownFactor_; @@ -246,6 +259,8 @@ public double getScaleDownFactor() { * * * double scale_up_min_worker_fraction = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The scaleUpMinWorkerFraction. */ public double getScaleUpMinWorkerFraction() { return scaleUpMinWorkerFraction_; @@ -267,6 +282,8 @@ public double getScaleUpMinWorkerFraction() { * * double scale_down_min_worker_fraction = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The scaleDownMinWorkerFraction. */ public double getScaleDownMinWorkerFraction() { return scaleDownMinWorkerFraction_; @@ -703,6 +720,8 @@ public Builder mergeFrom( * * .google.protobuf.Duration graceful_decommission_timeout = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the gracefulDecommissionTimeout field is set. */ public boolean hasGracefulDecommissionTimeout() { return gracefulDecommissionTimeoutBuilder_ != null || gracefulDecommissionTimeout_ != null; @@ -721,6 +740,8 @@ public boolean hasGracefulDecommissionTimeout() { * * .google.protobuf.Duration graceful_decommission_timeout = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The gracefulDecommissionTimeout. */ public com.google.protobuf.Duration getGracefulDecommissionTimeout() { if (gracefulDecommissionTimeoutBuilder_ == null) { @@ -933,6 +954,8 @@ public com.google.protobuf.DurationOrBuilder getGracefulDecommissionTimeoutOrBui * * * double scale_up_factor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The scaleUpFactor. */ public double getScaleUpFactor() { return scaleUpFactor_; @@ -950,6 +973,9 @@ public double getScaleUpFactor() { * * * double scale_up_factor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The scaleUpFactor to set. + * @return This builder for chaining. */ public Builder setScaleUpFactor(double value) { @@ -970,6 +996,8 @@ public Builder setScaleUpFactor(double value) { * * * double scale_up_factor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearScaleUpFactor() { @@ -992,6 +1020,8 @@ public Builder clearScaleUpFactor() { * * * double scale_down_factor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The scaleDownFactor. */ public double getScaleDownFactor() { return scaleDownFactor_; @@ -1009,6 +1039,9 @@ public double getScaleDownFactor() { * * * double scale_down_factor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The scaleDownFactor to set. + * @return This builder for chaining. */ public Builder setScaleDownFactor(double value) { @@ -1029,6 +1062,8 @@ public Builder setScaleDownFactor(double value) { * * * double scale_down_factor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearScaleDownFactor() { @@ -1052,6 +1087,8 @@ public Builder clearScaleDownFactor() { * * double scale_up_min_worker_fraction = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The scaleUpMinWorkerFraction. */ public double getScaleUpMinWorkerFraction() { return scaleUpMinWorkerFraction_; @@ -1070,6 +1107,9 @@ public double getScaleUpMinWorkerFraction() { * * double scale_up_min_worker_fraction = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The scaleUpMinWorkerFraction to set. + * @return This builder for chaining. */ public Builder setScaleUpMinWorkerFraction(double value) { @@ -1091,6 +1131,8 @@ public Builder setScaleUpMinWorkerFraction(double value) { * * double scale_up_min_worker_fraction = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearScaleUpMinWorkerFraction() { @@ -1114,6 +1156,8 @@ public Builder clearScaleUpMinWorkerFraction() { * * double scale_down_min_worker_fraction = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The scaleDownMinWorkerFraction. */ public double getScaleDownMinWorkerFraction() { return scaleDownMinWorkerFraction_; @@ -1132,6 +1176,9 @@ public double getScaleDownMinWorkerFraction() { * * double scale_down_min_worker_fraction = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The scaleDownMinWorkerFraction to set. + * @return This builder for chaining. */ public Builder setScaleDownMinWorkerFraction(double value) { @@ -1153,6 +1200,8 @@ public Builder setScaleDownMinWorkerFraction(double value) { * * double scale_down_min_worker_fraction = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearScaleDownMinWorkerFraction() { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BasicYarnAutoscalingConfigOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BasicYarnAutoscalingConfigOrBuilder.java index 82fd7e74..c0de9db7 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BasicYarnAutoscalingConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BasicYarnAutoscalingConfigOrBuilder.java @@ -37,6 +37,8 @@ public interface BasicYarnAutoscalingConfigOrBuilder * * .google.protobuf.Duration graceful_decommission_timeout = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the gracefulDecommissionTimeout field is set. */ boolean hasGracefulDecommissionTimeout(); /** @@ -53,6 +55,8 @@ public interface BasicYarnAutoscalingConfigOrBuilder * * .google.protobuf.Duration graceful_decommission_timeout = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The gracefulDecommissionTimeout. */ com.google.protobuf.Duration getGracefulDecommissionTimeout(); /** @@ -85,6 +89,8 @@ public interface BasicYarnAutoscalingConfigOrBuilder * * * double scale_up_factor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The scaleUpFactor. */ double getScaleUpFactor(); @@ -101,6 +107,8 @@ public interface BasicYarnAutoscalingConfigOrBuilder * * * double scale_down_factor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The scaleDownFactor. */ double getScaleDownFactor(); @@ -117,6 +125,8 @@ public interface BasicYarnAutoscalingConfigOrBuilder * * * double scale_up_min_worker_fraction = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The scaleUpMinWorkerFraction. */ double getScaleUpMinWorkerFraction(); @@ -134,6 +144,8 @@ public interface BasicYarnAutoscalingConfigOrBuilder * * double scale_down_min_worker_fraction = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The scaleDownMinWorkerFraction. */ double getScaleDownMinWorkerFraction(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CancelJobRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CancelJobRequest.java index d5c1d845..807ad6f4 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CancelJobRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CancelJobRequest.java @@ -43,6 +43,12 @@ private CancelJobRequest() { jobId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CancelJobRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private CancelJobRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -154,6 +161,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -177,6 +186,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -197,6 +208,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -220,6 +233,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -240,6 +255,8 @@ public java.lang.String getJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -611,6 +628,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -632,6 +651,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -653,6 +674,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -672,6 +696,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -688,6 +714,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -709,6 +738,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -729,6 +760,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -749,6 +782,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -767,6 +803,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -782,6 +820,9 @@ public Builder clearRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -803,6 +844,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -823,6 +866,8 @@ public java.lang.String getJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -843,6 +888,9 @@ public com.google.protobuf.ByteString getJobIdBytes() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The jobId to set. + * @return This builder for chaining. */ public Builder setJobId(java.lang.String value) { if (value == null) { @@ -861,6 +909,8 @@ public Builder setJobId(java.lang.String value) { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearJobId() { @@ -876,6 +926,9 @@ public Builder clearJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for jobId to set. + * @return This builder for chaining. */ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CancelJobRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CancelJobRequestOrBuilder.java index 80fe3749..791ad4c6 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CancelJobRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CancelJobRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface CancelJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface CancelJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface CancelJobRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface CancelJobRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface CancelJobRequestOrBuilder * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ java.lang.String getJobId(); /** @@ -85,6 +95,8 @@ public interface CancelJobRequestOrBuilder * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ com.google.protobuf.ByteString getJobIdBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Cluster.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Cluster.java index d24ca57b..e87b6cb3 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Cluster.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Cluster.java @@ -45,6 +45,12 @@ private Cluster() { clusterUuid_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Cluster(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -124,10 +130,10 @@ private Cluster( } case 58: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { statusHistory_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000002; } statusHistory_.add( input.readMessage( @@ -136,10 +142,10 @@ private Cluster( } case 66: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( @@ -177,7 +183,7 @@ private Cluster( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000020) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { statusHistory_ = java.util.Collections.unmodifiableList(statusHistory_); } this.unknownFields = unknownFields.build(); @@ -211,7 +217,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1.Cluster.Builder.class); } - private int bitField0_; public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** @@ -222,6 +227,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * string project_id = 1; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -242,6 +249,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -266,6 +275,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string cluster_name = 2; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -287,6 +298,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -311,6 +324,8 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * .google.cloud.dataproc.v1.ClusterConfig config = 3; + * + * @return Whether the config field is set. */ public boolean hasConfig() { return config_ != null; @@ -324,6 +339,8 @@ public boolean hasConfig() { * * * .google.cloud.dataproc.v1.ClusterConfig config = 3; + * + * @return The config. */ public com.google.cloud.dataproc.v1.ClusterConfig getConfig() { return config_ == null @@ -473,6 +490,8 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { * * .google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the status field is set. */ public boolean hasStatus() { return status_ != null; @@ -487,6 +506,8 @@ public boolean hasStatus() { * * .google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The status. */ public com.google.cloud.dataproc.v1.ClusterStatus getStatus() { return status_ == null @@ -593,6 +614,8 @@ public com.google.cloud.dataproc.v1.ClusterStatusOrBuilder getStatusHistoryOrBui * * * string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -614,6 +637,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -639,6 +664,8 @@ public com.google.protobuf.ByteString getClusterUuidBytes() { * * * .google.cloud.dataproc.v1.ClusterMetrics metrics = 9; + * + * @return Whether the metrics field is set. */ public boolean hasMetrics() { return metrics_ != null; @@ -653,6 +680,8 @@ public boolean hasMetrics() { * * * .google.cloud.dataproc.v1.ClusterMetrics metrics = 9; + * + * @return The metrics. */ public com.google.cloud.dataproc.v1.ClusterMetrics getMetrics() { return metrics_ == null @@ -1006,7 +1035,7 @@ public Builder clear() { } if (statusHistoryBuilder_ == null) { statusHistory_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000002); } else { statusHistoryBuilder_.clear(); } @@ -1045,7 +1074,6 @@ public com.google.cloud.dataproc.v1.Cluster build() { public com.google.cloud.dataproc.v1.Cluster buildPartial() { com.google.cloud.dataproc.v1.Cluster result = new com.google.cloud.dataproc.v1.Cluster(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.projectId_ = projectId_; result.clusterName_ = clusterName_; if (configBuilder_ == null) { @@ -1061,9 +1089,9 @@ public com.google.cloud.dataproc.v1.Cluster buildPartial() { result.status_ = statusBuilder_.build(); } if (statusHistoryBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { statusHistory_ = java.util.Collections.unmodifiableList(statusHistory_); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000002); } result.statusHistory_ = statusHistory_; } else { @@ -1075,7 +1103,6 @@ public com.google.cloud.dataproc.v1.Cluster buildPartial() { } else { result.metrics_ = metricsBuilder_.build(); } - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1144,7 +1171,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.Cluster other) { if (!other.statusHistory_.isEmpty()) { if (statusHistory_.isEmpty()) { statusHistory_ = other.statusHistory_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureStatusHistoryIsMutable(); statusHistory_.addAll(other.statusHistory_); @@ -1157,7 +1184,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.Cluster other) { statusHistoryBuilder_.dispose(); statusHistoryBuilder_ = null; statusHistory_ = other.statusHistory_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000002); statusHistoryBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStatusHistoryFieldBuilder() @@ -1214,6 +1241,8 @@ public Builder mergeFrom( * * * string project_id = 1; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -1234,6 +1263,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -1254,6 +1285,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -1272,6 +1306,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1287,6 +1323,9 @@ public Builder clearProjectId() { * * * string project_id = 1; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1309,6 +1348,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string cluster_name = 2; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -1330,6 +1371,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -1351,6 +1394,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 2; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -1370,6 +1416,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 2; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -1386,6 +1434,9 @@ public Builder clearClusterName() { * * * string cluster_name = 2; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1413,6 +1464,8 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dataproc.v1.ClusterConfig config = 3; + * + * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; @@ -1426,6 +1479,8 @@ public boolean hasConfig() { * * * .google.cloud.dataproc.v1.ClusterConfig config = 3; + * + * @return The config. */ public com.google.cloud.dataproc.v1.ClusterConfig getConfig() { if (configBuilder_ == null) { @@ -1798,6 +1853,8 @@ public Builder putAllLabels(java.util.Map va * * .google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; @@ -1812,6 +1869,8 @@ public boolean hasStatus() { * * .google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The status. */ public com.google.cloud.dataproc.v1.ClusterStatus getStatus() { if (statusBuilder_ == null) { @@ -1985,10 +2044,10 @@ public com.google.cloud.dataproc.v1.ClusterStatusOrBuilder getStatusOrBuilder() java.util.Collections.emptyList(); private void ensureStatusHistoryIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { statusHistory_ = new java.util.ArrayList(statusHistory_); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000002; } } @@ -2226,7 +2285,7 @@ public Builder addAllStatusHistory( public Builder clearStatusHistory() { if (statusHistoryBuilder_ == null) { statusHistory_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { statusHistoryBuilder_.clear(); @@ -2364,7 +2423,7 @@ public com.google.cloud.dataproc.v1.ClusterStatus.Builder addStatusHistoryBuilde com.google.cloud.dataproc.v1.ClusterStatus.Builder, com.google.cloud.dataproc.v1.ClusterStatusOrBuilder>( statusHistory_, - ((bitField0_ & 0x00000020) != 0), + ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); statusHistory_ = null; @@ -2382,6 +2441,8 @@ public com.google.cloud.dataproc.v1.ClusterStatus.Builder addStatusHistoryBuilde * * * string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -2403,6 +2464,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -2424,6 +2487,9 @@ public com.google.protobuf.ByteString getClusterUuidBytes() { * * * string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuid(java.lang.String value) { if (value == null) { @@ -2443,6 +2509,8 @@ public Builder setClusterUuid(java.lang.String value) { * * * string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearClusterUuid() { @@ -2459,6 +2527,9 @@ public Builder clearClusterUuid() { * * * string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuidBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2487,6 +2558,8 @@ public Builder setClusterUuidBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dataproc.v1.ClusterMetrics metrics = 9; + * + * @return Whether the metrics field is set. */ public boolean hasMetrics() { return metricsBuilder_ != null || metrics_ != null; @@ -2501,6 +2574,8 @@ public boolean hasMetrics() { * * * .google.cloud.dataproc.v1.ClusterMetrics metrics = 9; + * + * @return The metrics. */ public com.google.cloud.dataproc.v1.ClusterMetrics getMetrics() { if (metricsBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfig.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfig.java index b8c6ce55..1ef1ddab 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfig.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfig.java @@ -42,6 +42,12 @@ private ClusterConfig() { initializationActions_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ClusterConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -123,11 +129,11 @@ private ClusterConfig( } case 90: { - if (!((mutable_bitField0_ & 0x00000040) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { initializationActions_ = new java.util.ArrayList< com.google.cloud.dataproc.v1.NodeInitializationAction>(); - mutable_bitField0_ |= 0x00000040; + mutable_bitField0_ |= 0x00000001; } initializationActions_.add( input.readMessage( @@ -229,7 +235,7 @@ private ClusterConfig( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000040) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { initializationActions_ = java.util.Collections.unmodifiableList(initializationActions_); } this.unknownFields = unknownFields.build(); @@ -252,7 +258,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dataproc.v1.ClusterConfig.Builder.class); } - private int bitField0_; public static final int CONFIG_BUCKET_FIELD_NUMBER = 1; private volatile java.lang.Object configBucket_; /** @@ -271,6 +276,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The configBucket. */ public java.lang.String getConfigBucket() { java.lang.Object ref = configBucket_; @@ -299,6 +306,8 @@ public java.lang.String getConfigBucket() { * * * string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for configBucket. */ public com.google.protobuf.ByteString getConfigBucketBytes() { java.lang.Object ref = configBucket_; @@ -325,6 +334,8 @@ public com.google.protobuf.ByteString getConfigBucketBytes() { * * .google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the gceClusterConfig field is set. */ public boolean hasGceClusterConfig() { return gceClusterConfig_ != null; @@ -340,6 +351,8 @@ public boolean hasGceClusterConfig() { * * .google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The gceClusterConfig. */ public com.google.cloud.dataproc.v1.GceClusterConfig getGceClusterConfig() { return gceClusterConfig_ == null @@ -375,6 +388,8 @@ public com.google.cloud.dataproc.v1.GceClusterConfigOrBuilder getGceClusterConfi * * .google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the masterConfig field is set. */ public boolean hasMasterConfig() { return masterConfig_ != null; @@ -390,6 +405,8 @@ public boolean hasMasterConfig() { * * .google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The masterConfig. */ public com.google.cloud.dataproc.v1.InstanceGroupConfig getMasterConfig() { return masterConfig_ == null @@ -425,6 +442,8 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfigOrBuilder getMasterConfig * * .google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the workerConfig field is set. */ public boolean hasWorkerConfig() { return workerConfig_ != null; @@ -440,6 +459,8 @@ public boolean hasWorkerConfig() { * * .google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The workerConfig. */ public com.google.cloud.dataproc.v1.InstanceGroupConfig getWorkerConfig() { return workerConfig_ == null @@ -475,6 +496,8 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfigOrBuilder getWorkerConfig * * .google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the secondaryWorkerConfig field is set. */ public boolean hasSecondaryWorkerConfig() { return secondaryWorkerConfig_ != null; @@ -490,6 +513,8 @@ public boolean hasSecondaryWorkerConfig() { * * .google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The secondaryWorkerConfig. */ public com.google.cloud.dataproc.v1.InstanceGroupConfig getSecondaryWorkerConfig() { return secondaryWorkerConfig_ == null @@ -525,6 +550,8 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfig getSecondaryWorkerConfig * * .google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the softwareConfig field is set. */ public boolean hasSoftwareConfig() { return softwareConfig_ != null; @@ -539,6 +566,8 @@ public boolean hasSoftwareConfig() { * * .google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The softwareConfig. */ public com.google.cloud.dataproc.v1.SoftwareConfig getSoftwareConfig() { return softwareConfig_ == null @@ -704,6 +733,8 @@ public com.google.cloud.dataproc.v1.NodeInitializationAction getInitializationAc * * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; @@ -718,6 +749,8 @@ public boolean hasEncryptionConfig() { * * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The encryptionConfig. */ public com.google.cloud.dataproc.v1.EncryptionConfig getEncryptionConfig() { return encryptionConfig_ == null @@ -752,6 +785,8 @@ public com.google.cloud.dataproc.v1.EncryptionConfigOrBuilder getEncryptionConfi * * .google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the autoscalingConfig field is set. */ public boolean hasAutoscalingConfig() { return autoscalingConfig_ != null; @@ -767,6 +802,8 @@ public boolean hasAutoscalingConfig() { * * .google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The autoscalingConfig. */ public com.google.cloud.dataproc.v1.AutoscalingConfig getAutoscalingConfig() { return autoscalingConfig_ == null @@ -801,6 +838,8 @@ public com.google.cloud.dataproc.v1.AutoscalingConfigOrBuilder getAutoscalingCon * * .google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the securityConfig field is set. */ public boolean hasSecurityConfig() { return securityConfig_ != null; @@ -815,6 +854,8 @@ public boolean hasSecurityConfig() { * * .google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The securityConfig. */ public com.google.cloud.dataproc.v1.SecurityConfig getSecurityConfig() { return securityConfig_ == null @@ -1202,7 +1243,7 @@ public Builder clear() { } if (initializationActionsBuilder_ == null) { initializationActions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000001); } else { initializationActionsBuilder_.clear(); } @@ -1252,7 +1293,6 @@ public com.google.cloud.dataproc.v1.ClusterConfig buildPartial() { com.google.cloud.dataproc.v1.ClusterConfig result = new com.google.cloud.dataproc.v1.ClusterConfig(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.configBucket_ = configBucket_; if (gceClusterConfigBuilder_ == null) { result.gceClusterConfig_ = gceClusterConfig_; @@ -1280,9 +1320,9 @@ public com.google.cloud.dataproc.v1.ClusterConfig buildPartial() { result.softwareConfig_ = softwareConfigBuilder_.build(); } if (initializationActionsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { initializationActions_ = java.util.Collections.unmodifiableList(initializationActions_); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000001); } result.initializationActions_ = initializationActions_; } else { @@ -1303,7 +1343,6 @@ public com.google.cloud.dataproc.v1.ClusterConfig buildPartial() { } else { result.securityConfig_ = securityConfigBuilder_.build(); } - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1376,7 +1415,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.ClusterConfig other) { if (!other.initializationActions_.isEmpty()) { if (initializationActions_.isEmpty()) { initializationActions_ = other.initializationActions_; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureInitializationActionsIsMutable(); initializationActions_.addAll(other.initializationActions_); @@ -1389,7 +1428,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.ClusterConfig other) { initializationActionsBuilder_.dispose(); initializationActionsBuilder_ = null; initializationActions_ = other.initializationActions_; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000001); initializationActionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getInitializationActionsFieldBuilder() @@ -1456,6 +1495,8 @@ public Builder mergeFrom( * * * string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The configBucket. */ public java.lang.String getConfigBucket() { java.lang.Object ref = configBucket_; @@ -1484,6 +1525,8 @@ public java.lang.String getConfigBucket() { * * * string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for configBucket. */ public com.google.protobuf.ByteString getConfigBucketBytes() { java.lang.Object ref = configBucket_; @@ -1512,6 +1555,9 @@ public com.google.protobuf.ByteString getConfigBucketBytes() { * * * string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The configBucket to set. + * @return This builder for chaining. */ public Builder setConfigBucket(java.lang.String value) { if (value == null) { @@ -1538,6 +1584,8 @@ public Builder setConfigBucket(java.lang.String value) { * * * string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearConfigBucket() { @@ -1561,6 +1609,9 @@ public Builder clearConfigBucket() { * * * string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for configBucket to set. + * @return This builder for chaining. */ public Builder setConfigBucketBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1590,6 +1641,8 @@ public Builder setConfigBucketBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the gceClusterConfig field is set. */ public boolean hasGceClusterConfig() { return gceClusterConfigBuilder_ != null || gceClusterConfig_ != null; @@ -1605,6 +1658,8 @@ public boolean hasGceClusterConfig() { * * .google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The gceClusterConfig. */ public com.google.cloud.dataproc.v1.GceClusterConfig getGceClusterConfig() { if (gceClusterConfigBuilder_ == null) { @@ -1799,6 +1854,8 @@ public com.google.cloud.dataproc.v1.GceClusterConfigOrBuilder getGceClusterConfi * * .google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the masterConfig field is set. */ public boolean hasMasterConfig() { return masterConfigBuilder_ != null || masterConfig_ != null; @@ -1814,6 +1871,8 @@ public boolean hasMasterConfig() { * * .google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The masterConfig. */ public com.google.cloud.dataproc.v1.InstanceGroupConfig getMasterConfig() { if (masterConfigBuilder_ == null) { @@ -2008,6 +2067,8 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfigOrBuilder getMasterConfig * * .google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the workerConfig field is set. */ public boolean hasWorkerConfig() { return workerConfigBuilder_ != null || workerConfig_ != null; @@ -2023,6 +2084,8 @@ public boolean hasWorkerConfig() { * * .google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The workerConfig. */ public com.google.cloud.dataproc.v1.InstanceGroupConfig getWorkerConfig() { if (workerConfigBuilder_ == null) { @@ -2217,6 +2280,8 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfigOrBuilder getWorkerConfig * * .google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the secondaryWorkerConfig field is set. */ public boolean hasSecondaryWorkerConfig() { return secondaryWorkerConfigBuilder_ != null || secondaryWorkerConfig_ != null; @@ -2232,6 +2297,8 @@ public boolean hasSecondaryWorkerConfig() { * * .google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The secondaryWorkerConfig. */ public com.google.cloud.dataproc.v1.InstanceGroupConfig getSecondaryWorkerConfig() { if (secondaryWorkerConfigBuilder_ == null) { @@ -2429,6 +2496,8 @@ public Builder clearSecondaryWorkerConfig() { * * .google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the softwareConfig field is set. */ public boolean hasSoftwareConfig() { return softwareConfigBuilder_ != null || softwareConfig_ != null; @@ -2443,6 +2512,8 @@ public boolean hasSoftwareConfig() { * * .google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The softwareConfig. */ public com.google.cloud.dataproc.v1.SoftwareConfig getSoftwareConfig() { if (softwareConfigBuilder_ == null) { @@ -2617,11 +2688,11 @@ public com.google.cloud.dataproc.v1.SoftwareConfigOrBuilder getSoftwareConfigOrB initializationActions_ = java.util.Collections.emptyList(); private void ensureInitializationActionsIsMutable() { - if (!((bitField0_ & 0x00000040) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { initializationActions_ = new java.util.ArrayList( initializationActions_); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000001; } } @@ -2986,7 +3057,7 @@ public Builder addAllInitializationActions( public Builder clearInitializationActions() { if (initializationActionsBuilder_ == null) { initializationActions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { initializationActionsBuilder_.clear(); @@ -3205,7 +3276,7 @@ public Builder removeInitializationActions(int index) { com.google.cloud.dataproc.v1.NodeInitializationAction.Builder, com.google.cloud.dataproc.v1.NodeInitializationActionOrBuilder>( initializationActions_, - ((bitField0_ & 0x00000040) != 0), + ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); initializationActions_ = null; @@ -3229,6 +3300,8 @@ public Builder removeInitializationActions(int index) { * * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return encryptionConfigBuilder_ != null || encryptionConfig_ != null; @@ -3243,6 +3316,8 @@ public boolean hasEncryptionConfig() { * * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The encryptionConfig. */ public com.google.cloud.dataproc.v1.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { @@ -3430,6 +3505,8 @@ public com.google.cloud.dataproc.v1.EncryptionConfigOrBuilder getEncryptionConfi * * .google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the autoscalingConfig field is set. */ public boolean hasAutoscalingConfig() { return autoscalingConfigBuilder_ != null || autoscalingConfig_ != null; @@ -3445,6 +3522,8 @@ public boolean hasAutoscalingConfig() { * * .google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The autoscalingConfig. */ public com.google.cloud.dataproc.v1.AutoscalingConfig getAutoscalingConfig() { if (autoscalingConfigBuilder_ == null) { @@ -3638,6 +3717,8 @@ public com.google.cloud.dataproc.v1.AutoscalingConfigOrBuilder getAutoscalingCon * * .google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the securityConfig field is set. */ public boolean hasSecurityConfig() { return securityConfigBuilder_ != null || securityConfig_ != null; @@ -3652,6 +3733,8 @@ public boolean hasSecurityConfig() { * * .google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The securityConfig. */ public com.google.cloud.dataproc.v1.SecurityConfig getSecurityConfig() { if (securityConfigBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfigOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfigOrBuilder.java index 40b979b2..2bea5278 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfigOrBuilder.java @@ -39,6 +39,8 @@ public interface ClusterConfigOrBuilder * * * string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The configBucket. */ java.lang.String getConfigBucket(); /** @@ -57,6 +59,8 @@ public interface ClusterConfigOrBuilder * * * string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for configBucket. */ com.google.protobuf.ByteString getConfigBucketBytes(); @@ -71,6 +75,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the gceClusterConfig field is set. */ boolean hasGceClusterConfig(); /** @@ -84,6 +90,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The gceClusterConfig. */ com.google.cloud.dataproc.v1.GceClusterConfig getGceClusterConfig(); /** @@ -111,6 +119,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the masterConfig field is set. */ boolean hasMasterConfig(); /** @@ -124,6 +134,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The masterConfig. */ com.google.cloud.dataproc.v1.InstanceGroupConfig getMasterConfig(); /** @@ -151,6 +163,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the workerConfig field is set. */ boolean hasWorkerConfig(); /** @@ -164,6 +178,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The workerConfig. */ com.google.cloud.dataproc.v1.InstanceGroupConfig getWorkerConfig(); /** @@ -191,6 +207,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the secondaryWorkerConfig field is set. */ boolean hasSecondaryWorkerConfig(); /** @@ -204,6 +222,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The secondaryWorkerConfig. */ com.google.cloud.dataproc.v1.InstanceGroupConfig getSecondaryWorkerConfig(); /** @@ -230,6 +250,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the softwareConfig field is set. */ boolean hasSoftwareConfig(); /** @@ -242,6 +264,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The softwareConfig. */ com.google.cloud.dataproc.v1.SoftwareConfig getSoftwareConfig(); /** @@ -386,6 +410,8 @@ com.google.cloud.dataproc.v1.NodeInitializationActionOrBuilder getInitialization * * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** @@ -398,6 +424,8 @@ com.google.cloud.dataproc.v1.NodeInitializationActionOrBuilder getInitialization * * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The encryptionConfig. */ com.google.cloud.dataproc.v1.EncryptionConfig getEncryptionConfig(); /** @@ -424,6 +452,8 @@ com.google.cloud.dataproc.v1.NodeInitializationActionOrBuilder getInitialization * * .google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the autoscalingConfig field is set. */ boolean hasAutoscalingConfig(); /** @@ -437,6 +467,8 @@ com.google.cloud.dataproc.v1.NodeInitializationActionOrBuilder getInitialization * * .google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The autoscalingConfig. */ com.google.cloud.dataproc.v1.AutoscalingConfig getAutoscalingConfig(); /** @@ -463,6 +495,8 @@ com.google.cloud.dataproc.v1.NodeInitializationActionOrBuilder getInitialization * * .google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the securityConfig field is set. */ boolean hasSecurityConfig(); /** @@ -475,6 +509,8 @@ com.google.cloud.dataproc.v1.NodeInitializationActionOrBuilder getInitialization * * .google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The securityConfig. */ com.google.cloud.dataproc.v1.SecurityConfig getSecurityConfig(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterMetrics.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterMetrics.java index 31dfd9b7..15ba6e91 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterMetrics.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterMetrics.java @@ -41,6 +41,12 @@ private ClusterMetrics(com.google.protobuf.GeneratedMessageV3.Builder builder private ClusterMetrics() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ClusterMetrics(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperation.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperation.java index 03601eca..68d8f0be 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperation.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperation.java @@ -42,6 +42,12 @@ private ClusterOperation() { error_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ClusterOperation(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private ClusterOperation( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -129,6 +134,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The operationId. */ public java.lang.String getOperationId() { java.lang.Object ref = operationId_; @@ -149,6 +156,8 @@ public java.lang.String getOperationId() { * * * string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for operationId. */ public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; @@ -172,6 +181,8 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * * * string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The error. */ public java.lang.String getError() { java.lang.Object ref = error_; @@ -192,6 +203,8 @@ public java.lang.String getError() { * * * string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for error. */ public com.google.protobuf.ByteString getErrorBytes() { java.lang.Object ref = error_; @@ -215,6 +228,8 @@ public com.google.protobuf.ByteString getErrorBytes() { * * * bool done = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The done. */ public boolean getDone() { return done_; @@ -576,6 +591,8 @@ public Builder mergeFrom( * * * string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The operationId. */ public java.lang.String getOperationId() { java.lang.Object ref = operationId_; @@ -596,6 +613,8 @@ public java.lang.String getOperationId() { * * * string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for operationId. */ public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; @@ -616,6 +635,9 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * * * string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The operationId to set. + * @return This builder for chaining. */ public Builder setOperationId(java.lang.String value) { if (value == null) { @@ -634,6 +656,8 @@ public Builder setOperationId(java.lang.String value) { * * * string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearOperationId() { @@ -649,6 +673,9 @@ public Builder clearOperationId() { * * * string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for operationId to set. + * @return This builder for chaining. */ public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -670,6 +697,8 @@ public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { * * * string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The error. */ public java.lang.String getError() { java.lang.Object ref = error_; @@ -690,6 +719,8 @@ public java.lang.String getError() { * * * string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for error. */ public com.google.protobuf.ByteString getErrorBytes() { java.lang.Object ref = error_; @@ -710,6 +741,9 @@ public com.google.protobuf.ByteString getErrorBytes() { * * * string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The error to set. + * @return This builder for chaining. */ public Builder setError(java.lang.String value) { if (value == null) { @@ -728,6 +762,8 @@ public Builder setError(java.lang.String value) { * * * string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearError() { @@ -743,6 +779,9 @@ public Builder clearError() { * * * string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for error to set. + * @return This builder for chaining. */ public Builder setErrorBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -764,6 +803,8 @@ public Builder setErrorBytes(com.google.protobuf.ByteString value) { * * * bool done = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The done. */ public boolean getDone() { return done_; @@ -776,6 +817,9 @@ public boolean getDone() { * * * bool done = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The done to set. + * @return This builder for chaining. */ public Builder setDone(boolean value) { @@ -791,6 +835,8 @@ public Builder setDone(boolean value) { * * * bool done = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearDone() { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationMetadata.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationMetadata.java index bb4ad6cf..9d5b83df 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationMetadata.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationMetadata.java @@ -46,6 +46,12 @@ private ClusterOperationMetadata() { warnings_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ClusterOperationMetadata(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -103,10 +109,10 @@ private ClusterOperationMetadata( } case 82: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { statusHistory_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000001; } statusHistory_.add( input.readMessage( @@ -130,10 +136,10 @@ private ClusterOperationMetadata( } case 106: { - if (!((mutable_bitField0_ & 0x00000040) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000040; + mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry labels__ = input.readMessage( @@ -144,9 +150,9 @@ private ClusterOperationMetadata( case 114: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000080) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { warnings_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000080; + mutable_bitField0_ |= 0x00000004; } warnings_.add(s); break; @@ -165,10 +171,10 @@ private ClusterOperationMetadata( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000008) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { statusHistory_ = java.util.Collections.unmodifiableList(statusHistory_); } - if (((mutable_bitField0_ & 0x00000080) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { warnings_ = warnings_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -202,7 +208,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1.ClusterOperationMetadata.Builder.class); } - private int bitField0_; public static final int CLUSTER_NAME_FIELD_NUMBER = 7; private volatile java.lang.Object clusterName_; /** @@ -213,6 +218,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -233,6 +240,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -256,6 +265,8 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -276,6 +287,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -301,6 +314,8 @@ public com.google.protobuf.ByteString getClusterUuidBytes() { * * .google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the status field is set. */ public boolean hasStatus() { return status_ != null; @@ -315,6 +330,8 @@ public boolean hasStatus() { * * .google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The status. */ public com.google.cloud.dataproc.v1.ClusterOperationStatus getStatus() { return status_ == null @@ -422,6 +439,8 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder getStatusHis * * * string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The operationType. */ public java.lang.String getOperationType() { java.lang.Object ref = operationType_; @@ -442,6 +461,8 @@ public java.lang.String getOperationType() { * * * string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for operationType. */ public com.google.protobuf.ByteString getOperationTypeBytes() { java.lang.Object ref = operationType_; @@ -465,6 +486,8 @@ public com.google.protobuf.ByteString getOperationTypeBytes() { * * * string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; @@ -485,6 +508,8 @@ public java.lang.String getDescription() { * * * string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; @@ -605,6 +630,8 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { * * * repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the warnings. */ public com.google.protobuf.ProtocolStringList getWarningsList() { return warnings_; @@ -617,6 +644,8 @@ public com.google.protobuf.ProtocolStringList getWarningsList() { * * * repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of warnings. */ public int getWarningsCount() { return warnings_.size(); @@ -629,6 +658,9 @@ public int getWarningsCount() { * * * repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The warnings at the given index. */ public java.lang.String getWarnings(int index) { return warnings_.get(index); @@ -641,6 +673,9 @@ public java.lang.String getWarnings(int index) { * * * repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the warnings at the given index. */ public com.google.protobuf.ByteString getWarningsBytes(int index) { return warnings_.getByteString(index); @@ -970,7 +1005,7 @@ public Builder clear() { } if (statusHistoryBuilder_ == null) { statusHistory_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000001); } else { statusHistoryBuilder_.clear(); } @@ -980,7 +1015,7 @@ public Builder clear() { internalGetMutableLabels().clear(); warnings_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000004); return this; } @@ -1009,7 +1044,6 @@ public com.google.cloud.dataproc.v1.ClusterOperationMetadata buildPartial() { com.google.cloud.dataproc.v1.ClusterOperationMetadata result = new com.google.cloud.dataproc.v1.ClusterOperationMetadata(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.clusterName_ = clusterName_; result.clusterUuid_ = clusterUuid_; if (statusBuilder_ == null) { @@ -1018,9 +1052,9 @@ public com.google.cloud.dataproc.v1.ClusterOperationMetadata buildPartial() { result.status_ = statusBuilder_.build(); } if (statusHistoryBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { statusHistory_ = java.util.Collections.unmodifiableList(statusHistory_); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000001); } result.statusHistory_ = statusHistory_; } else { @@ -1030,12 +1064,11 @@ public com.google.cloud.dataproc.v1.ClusterOperationMetadata buildPartial() { result.description_ = description_; result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { warnings_ = warnings_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000004); } result.warnings_ = warnings_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1101,7 +1134,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.ClusterOperationMetadata o if (!other.statusHistory_.isEmpty()) { if (statusHistory_.isEmpty()) { statusHistory_ = other.statusHistory_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStatusHistoryIsMutable(); statusHistory_.addAll(other.statusHistory_); @@ -1114,7 +1147,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.ClusterOperationMetadata o statusHistoryBuilder_.dispose(); statusHistoryBuilder_ = null; statusHistory_ = other.statusHistory_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000001); statusHistoryBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStatusHistoryFieldBuilder() @@ -1136,7 +1169,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.ClusterOperationMetadata o if (!other.warnings_.isEmpty()) { if (warnings_.isEmpty()) { warnings_ = other.warnings_; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureWarningsIsMutable(); warnings_.addAll(other.warnings_); @@ -1184,6 +1217,8 @@ public Builder mergeFrom( * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -1204,6 +1239,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -1224,6 +1261,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -1242,6 +1282,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -1257,6 +1299,9 @@ public Builder clearClusterName() { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1278,6 +1323,8 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { * * * string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -1298,6 +1345,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -1318,6 +1367,9 @@ public com.google.protobuf.ByteString getClusterUuidBytes() { * * * string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuid(java.lang.String value) { if (value == null) { @@ -1336,6 +1388,8 @@ public Builder setClusterUuid(java.lang.String value) { * * * string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearClusterUuid() { @@ -1351,6 +1405,9 @@ public Builder clearClusterUuid() { * * * string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuidBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1379,6 +1436,8 @@ public Builder setClusterUuidBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; @@ -1393,6 +1452,8 @@ public boolean hasStatus() { * * .google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The status. */ public com.google.cloud.dataproc.v1.ClusterOperationStatus getStatus() { if (statusBuilder_ == null) { @@ -1567,11 +1628,11 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder getStatusOrB java.util.Collections.emptyList(); private void ensureStatusHistoryIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { statusHistory_ = new java.util.ArrayList( statusHistory_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000001; } } @@ -1812,7 +1873,7 @@ public Builder addAllStatusHistory( public Builder clearStatusHistory() { if (statusHistoryBuilder_ == null) { statusHistory_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { statusHistoryBuilder_.clear(); @@ -1953,7 +2014,7 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatus.Builder addStatusHist com.google.cloud.dataproc.v1.ClusterOperationStatus.Builder, com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder>( statusHistory_, - ((bitField0_ & 0x00000008) != 0), + ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); statusHistory_ = null; @@ -1970,6 +2031,8 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatus.Builder addStatusHist * * * string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The operationType. */ public java.lang.String getOperationType() { java.lang.Object ref = operationType_; @@ -1990,6 +2053,8 @@ public java.lang.String getOperationType() { * * * string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for operationType. */ public com.google.protobuf.ByteString getOperationTypeBytes() { java.lang.Object ref = operationType_; @@ -2010,6 +2075,9 @@ public com.google.protobuf.ByteString getOperationTypeBytes() { * * * string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The operationType to set. + * @return This builder for chaining. */ public Builder setOperationType(java.lang.String value) { if (value == null) { @@ -2028,6 +2096,8 @@ public Builder setOperationType(java.lang.String value) { * * * string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearOperationType() { @@ -2043,6 +2113,9 @@ public Builder clearOperationType() { * * * string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for operationType to set. + * @return This builder for chaining. */ public Builder setOperationTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2064,6 +2137,8 @@ public Builder setOperationTypeBytes(com.google.protobuf.ByteString value) { * * * string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; @@ -2084,6 +2159,8 @@ public java.lang.String getDescription() { * * * string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; @@ -2104,6 +2181,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * * string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The description to set. + * @return This builder for chaining. */ public Builder setDescription(java.lang.String value) { if (value == null) { @@ -2122,6 +2202,8 @@ public Builder setDescription(java.lang.String value) { * * * string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearDescription() { @@ -2137,6 +2219,9 @@ public Builder clearDescription() { * * * string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for description to set. + * @return This builder for chaining. */ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2312,9 +2397,9 @@ public Builder putAllLabels(java.util.Map va com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureWarningsIsMutable() { - if (!((bitField0_ & 0x00000080) != 0)) { + if (!((bitField0_ & 0x00000004) != 0)) { warnings_ = new com.google.protobuf.LazyStringArrayList(warnings_); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000004; } } /** @@ -2325,6 +2410,8 @@ private void ensureWarningsIsMutable() { * * * repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the warnings. */ public com.google.protobuf.ProtocolStringList getWarningsList() { return warnings_.getUnmodifiableView(); @@ -2337,6 +2424,8 @@ public com.google.protobuf.ProtocolStringList getWarningsList() { * * * repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of warnings. */ public int getWarningsCount() { return warnings_.size(); @@ -2349,6 +2438,9 @@ public int getWarningsCount() { * * * repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The warnings at the given index. */ public java.lang.String getWarnings(int index) { return warnings_.get(index); @@ -2361,6 +2453,9 @@ public java.lang.String getWarnings(int index) { * * * repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the warnings at the given index. */ public com.google.protobuf.ByteString getWarningsBytes(int index) { return warnings_.getByteString(index); @@ -2373,6 +2468,10 @@ public com.google.protobuf.ByteString getWarningsBytes(int index) { * * * repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index to set the value at. + * @param value The warnings to set. + * @return This builder for chaining. */ public Builder setWarnings(int index, java.lang.String value) { if (value == null) { @@ -2391,6 +2490,9 @@ public Builder setWarnings(int index, java.lang.String value) { * * * repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The warnings to add. + * @return This builder for chaining. */ public Builder addWarnings(java.lang.String value) { if (value == null) { @@ -2409,6 +2511,9 @@ public Builder addWarnings(java.lang.String value) { * * * repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param values The warnings to add. + * @return This builder for chaining. */ public Builder addAllWarnings(java.lang.Iterable values) { ensureWarningsIsMutable(); @@ -2424,10 +2529,12 @@ public Builder addAllWarnings(java.lang.Iterable values) { * * * repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearWarnings() { warnings_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -2439,6 +2546,9 @@ public Builder clearWarnings() { * * * repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes of the warnings to add. + * @return This builder for chaining. */ public Builder addWarningsBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationMetadataOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationMetadataOrBuilder.java index 26e65266..bbe41ced 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationMetadataOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationMetadataOrBuilder.java @@ -31,6 +31,8 @@ public interface ClusterOperationMetadataOrBuilder * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -41,6 +43,8 @@ public interface ClusterOperationMetadataOrBuilder * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); @@ -52,6 +56,8 @@ public interface ClusterOperationMetadataOrBuilder * * * string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterUuid. */ java.lang.String getClusterUuid(); /** @@ -62,6 +68,8 @@ public interface ClusterOperationMetadataOrBuilder * * * string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterUuid. */ com.google.protobuf.ByteString getClusterUuidBytes(); @@ -75,6 +83,8 @@ public interface ClusterOperationMetadataOrBuilder * * .google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the status field is set. */ boolean hasStatus(); /** @@ -87,6 +97,8 @@ public interface ClusterOperationMetadataOrBuilder * * .google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The status. */ com.google.cloud.dataproc.v1.ClusterOperationStatus getStatus(); /** @@ -172,6 +184,8 @@ public interface ClusterOperationMetadataOrBuilder * * * string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The operationType. */ java.lang.String getOperationType(); /** @@ -182,6 +196,8 @@ public interface ClusterOperationMetadataOrBuilder * * * string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for operationType. */ com.google.protobuf.ByteString getOperationTypeBytes(); @@ -193,6 +209,8 @@ public interface ClusterOperationMetadataOrBuilder * * * string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The description. */ java.lang.String getDescription(); /** @@ -203,6 +221,8 @@ public interface ClusterOperationMetadataOrBuilder * * * string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); @@ -273,6 +293,8 @@ public interface ClusterOperationMetadataOrBuilder * * * repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the warnings. */ java.util.List getWarningsList(); /** @@ -283,6 +305,8 @@ public interface ClusterOperationMetadataOrBuilder * * * repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of warnings. */ int getWarningsCount(); /** @@ -293,6 +317,9 @@ public interface ClusterOperationMetadataOrBuilder * * * repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The warnings at the given index. */ java.lang.String getWarnings(int index); /** @@ -303,6 +330,9 @@ public interface ClusterOperationMetadataOrBuilder * * * repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the warnings at the given index. */ com.google.protobuf.ByteString getWarningsBytes(int index); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationOrBuilder.java index ba6d35db..d84d8bc4 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationOrBuilder.java @@ -31,6 +31,8 @@ public interface ClusterOperationOrBuilder * * * string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The operationId. */ java.lang.String getOperationId(); /** @@ -41,6 +43,8 @@ public interface ClusterOperationOrBuilder * * * string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for operationId. */ com.google.protobuf.ByteString getOperationIdBytes(); @@ -52,6 +56,8 @@ public interface ClusterOperationOrBuilder * * * string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The error. */ java.lang.String getError(); /** @@ -62,6 +68,8 @@ public interface ClusterOperationOrBuilder * * * string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for error. */ com.google.protobuf.ByteString getErrorBytes(); @@ -73,6 +81,8 @@ public interface ClusterOperationOrBuilder * * * bool done = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The done. */ boolean getDone(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationStatus.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationStatus.java index 2f3fdaa6..9150b09d 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationStatus.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationStatus.java @@ -43,6 +43,12 @@ private ClusterOperationStatus() { details_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ClusterOperationStatus(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private ClusterOperationStatus( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -239,12 +244,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static State valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static State forNumber(int value) { switch (value) { case 0: @@ -318,6 +331,8 @@ private State(int value) { * * .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -332,6 +347,8 @@ public int getStateValue() { * * .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1.ClusterOperationStatus.State getState() { @SuppressWarnings("deprecation") @@ -352,6 +369,8 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatus.State getState() { * * * string inner_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The innerState. */ public java.lang.String getInnerState() { java.lang.Object ref = innerState_; @@ -372,6 +391,8 @@ public java.lang.String getInnerState() { * * * string inner_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for innerState. */ public com.google.protobuf.ByteString getInnerStateBytes() { java.lang.Object ref = innerState_; @@ -395,6 +416,8 @@ public com.google.protobuf.ByteString getInnerStateBytes() { * * * string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The details. */ public java.lang.String getDetails() { java.lang.Object ref = details_; @@ -415,6 +438,8 @@ public java.lang.String getDetails() { * * * string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for details. */ public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; @@ -440,6 +465,8 @@ public com.google.protobuf.ByteString getDetailsBytes() { * * .google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the stateStartTime field is set. */ public boolean hasStateStartTime() { return stateStartTime_ != null; @@ -454,6 +481,8 @@ public boolean hasStateStartTime() { * * .google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The stateStartTime. */ public com.google.protobuf.Timestamp getStateStartTime() { return stateStartTime_ == null @@ -863,6 +892,8 @@ public Builder mergeFrom( * * .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -877,6 +908,9 @@ public int getStateValue() { * * .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. */ public Builder setStateValue(int value) { state_ = value; @@ -893,6 +927,8 @@ public Builder setStateValue(int value) { * * .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1.ClusterOperationStatus.State getState() { @SuppressWarnings("deprecation") @@ -912,6 +948,9 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatus.State getState() { * * .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The state to set. + * @return This builder for chaining. */ public Builder setState(com.google.cloud.dataproc.v1.ClusterOperationStatus.State value) { if (value == null) { @@ -932,6 +971,8 @@ public Builder setState(com.google.cloud.dataproc.v1.ClusterOperationStatus.Stat * * .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ public Builder clearState() { @@ -949,6 +990,8 @@ public Builder clearState() { * * * string inner_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The innerState. */ public java.lang.String getInnerState() { java.lang.Object ref = innerState_; @@ -969,6 +1012,8 @@ public java.lang.String getInnerState() { * * * string inner_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for innerState. */ public com.google.protobuf.ByteString getInnerStateBytes() { java.lang.Object ref = innerState_; @@ -989,6 +1034,9 @@ public com.google.protobuf.ByteString getInnerStateBytes() { * * * string inner_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The innerState to set. + * @return This builder for chaining. */ public Builder setInnerState(java.lang.String value) { if (value == null) { @@ -1007,6 +1055,8 @@ public Builder setInnerState(java.lang.String value) { * * * string inner_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearInnerState() { @@ -1022,6 +1072,9 @@ public Builder clearInnerState() { * * * string inner_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for innerState to set. + * @return This builder for chaining. */ public Builder setInnerStateBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1043,6 +1096,8 @@ public Builder setInnerStateBytes(com.google.protobuf.ByteString value) { * * * string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The details. */ public java.lang.String getDetails() { java.lang.Object ref = details_; @@ -1063,6 +1118,8 @@ public java.lang.String getDetails() { * * * string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for details. */ public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; @@ -1083,6 +1140,9 @@ public com.google.protobuf.ByteString getDetailsBytes() { * * * string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The details to set. + * @return This builder for chaining. */ public Builder setDetails(java.lang.String value) { if (value == null) { @@ -1101,6 +1161,8 @@ public Builder setDetails(java.lang.String value) { * * * string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearDetails() { @@ -1116,6 +1178,9 @@ public Builder clearDetails() { * * * string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for details to set. + * @return This builder for chaining. */ public Builder setDetailsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1144,6 +1209,8 @@ public Builder setDetailsBytes(com.google.protobuf.ByteString value) { * * .google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the stateStartTime field is set. */ public boolean hasStateStartTime() { return stateStartTimeBuilder_ != null || stateStartTime_ != null; @@ -1158,6 +1225,8 @@ public boolean hasStateStartTime() { * * .google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The stateStartTime. */ public com.google.protobuf.Timestamp getStateStartTime() { if (stateStartTimeBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationStatusOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationStatusOrBuilder.java index 674e5dab..68fc4952 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationStatusOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationStatusOrBuilder.java @@ -33,6 +33,8 @@ public interface ClusterOperationStatusOrBuilder * * .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ int getStateValue(); /** @@ -45,6 +47,8 @@ public interface ClusterOperationStatusOrBuilder * * .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ com.google.cloud.dataproc.v1.ClusterOperationStatus.State getState(); @@ -56,6 +60,8 @@ public interface ClusterOperationStatusOrBuilder * * * string inner_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The innerState. */ java.lang.String getInnerState(); /** @@ -66,6 +72,8 @@ public interface ClusterOperationStatusOrBuilder * * * string inner_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for innerState. */ com.google.protobuf.ByteString getInnerStateBytes(); @@ -77,6 +85,8 @@ public interface ClusterOperationStatusOrBuilder * * * string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The details. */ java.lang.String getDetails(); /** @@ -87,6 +97,8 @@ public interface ClusterOperationStatusOrBuilder * * * string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for details. */ com.google.protobuf.ByteString getDetailsBytes(); @@ -100,6 +112,8 @@ public interface ClusterOperationStatusOrBuilder * * .google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the stateStartTime field is set. */ boolean hasStateStartTime(); /** @@ -112,6 +126,8 @@ public interface ClusterOperationStatusOrBuilder * * .google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The stateStartTime. */ com.google.protobuf.Timestamp getStateStartTime(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOrBuilder.java index f5995266..81c9bffe 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOrBuilder.java @@ -31,6 +31,8 @@ public interface ClusterOrBuilder * * * string project_id = 1; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -41,6 +43,8 @@ public interface ClusterOrBuilder * * * string project_id = 1; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -53,6 +57,8 @@ public interface ClusterOrBuilder * * * string cluster_name = 2; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -64,6 +70,8 @@ public interface ClusterOrBuilder * * * string cluster_name = 2; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); @@ -76,6 +84,8 @@ public interface ClusterOrBuilder * * * .google.cloud.dataproc.v1.ClusterConfig config = 3; + * + * @return Whether the config field is set. */ boolean hasConfig(); /** @@ -87,6 +97,8 @@ public interface ClusterOrBuilder * * * .google.cloud.dataproc.v1.ClusterConfig config = 3; + * + * @return The config. */ com.google.cloud.dataproc.v1.ClusterConfig getConfig(); /** @@ -195,6 +207,8 @@ public interface ClusterOrBuilder * * .google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the status field is set. */ boolean hasStatus(); /** @@ -207,6 +221,8 @@ public interface ClusterOrBuilder * * .google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The status. */ com.google.cloud.dataproc.v1.ClusterStatus getStatus(); /** @@ -293,6 +309,8 @@ public interface ClusterOrBuilder * * * string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterUuid. */ java.lang.String getClusterUuid(); /** @@ -304,6 +322,8 @@ public interface ClusterOrBuilder * * * string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterUuid. */ com.google.protobuf.ByteString getClusterUuidBytes(); @@ -317,6 +337,8 @@ public interface ClusterOrBuilder * * * .google.cloud.dataproc.v1.ClusterMetrics metrics = 9; + * + * @return Whether the metrics field is set. */ boolean hasMetrics(); /** @@ -329,6 +351,8 @@ public interface ClusterOrBuilder * * * .google.cloud.dataproc.v1.ClusterMetrics metrics = 9; + * + * @return The metrics. */ com.google.cloud.dataproc.v1.ClusterMetrics getMetrics(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterSelector.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterSelector.java index 06ae4a58..83456819 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterSelector.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterSelector.java @@ -41,6 +41,12 @@ private ClusterSelector() { zone_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ClusterSelector(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -74,11 +80,11 @@ private ClusterSelector( } case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { clusterLabels_ = com.google.protobuf.MapField.newMapField( ClusterLabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry clusterLabels__ = input.readMessage( @@ -134,7 +140,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1.ClusterSelector.Builder.class); } - private int bitField0_; public static final int ZONE_FIELD_NUMBER = 1; private volatile java.lang.Object zone_; /** @@ -148,6 +153,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * string zone = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -171,6 +178,8 @@ public java.lang.String getZone() { * * * string zone = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for zone. */ public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -560,11 +569,9 @@ public com.google.cloud.dataproc.v1.ClusterSelector buildPartial() { com.google.cloud.dataproc.v1.ClusterSelector result = new com.google.cloud.dataproc.v1.ClusterSelector(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.zone_ = zone_; result.clusterLabels_ = internalGetClusterLabels(); result.clusterLabels_.makeImmutable(); - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -662,6 +669,8 @@ public Builder mergeFrom( * * * string zone = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -685,6 +694,8 @@ public java.lang.String getZone() { * * * string zone = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for zone. */ public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -708,6 +719,9 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * string zone = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The zone to set. + * @return This builder for chaining. */ public Builder setZone(java.lang.String value) { if (value == null) { @@ -729,6 +743,8 @@ public Builder setZone(java.lang.String value) { * * * string zone = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearZone() { @@ -747,6 +763,9 @@ public Builder clearZone() { * * * string zone = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for zone to set. + * @return This builder for chaining. */ public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterSelectorOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterSelectorOrBuilder.java index 051257a8..46c3f433 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterSelectorOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterSelectorOrBuilder.java @@ -34,6 +34,8 @@ public interface ClusterSelectorOrBuilder * * * string zone = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The zone. */ java.lang.String getZone(); /** @@ -47,6 +49,8 @@ public interface ClusterSelectorOrBuilder * * * string zone = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for zone. */ com.google.protobuf.ByteString getZoneBytes(); diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterStatus.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterStatus.java index 64a9161f..0c0a1a36 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterStatus.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterStatus.java @@ -43,6 +43,12 @@ private ClusterStatus() { substate_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ClusterStatus(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private ClusterStatus( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -279,12 +284,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static State valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static State forNumber(int value) { switch (value) { case 0: @@ -440,12 +453,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static Substate valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static Substate forNumber(int value) { switch (value) { case 0: @@ -515,6 +536,8 @@ private Substate(int value) { * * .google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -529,6 +552,8 @@ public int getStateValue() { * * .google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1.ClusterStatus.State getState() { @SuppressWarnings("deprecation") @@ -549,6 +574,8 @@ public com.google.cloud.dataproc.v1.ClusterStatus.State getState() { * * string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; * + * + * @return The detail. */ public java.lang.String getDetail() { java.lang.Object ref = detail_; @@ -571,6 +598,8 @@ public java.lang.String getDetail() { * * string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; * + * + * @return The bytes for detail. */ public com.google.protobuf.ByteString getDetailBytes() { java.lang.Object ref = detail_; @@ -596,6 +625,8 @@ public com.google.protobuf.ByteString getDetailBytes() { * * .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the stateStartTime field is set. */ public boolean hasStateStartTime() { return stateStartTime_ != null; @@ -610,6 +641,8 @@ public boolean hasStateStartTime() { * * .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The stateStartTime. */ public com.google.protobuf.Timestamp getStateStartTime() { return stateStartTime_ == null @@ -644,6 +677,8 @@ public com.google.protobuf.TimestampOrBuilder getStateStartTimeOrBuilder() { * * .google.cloud.dataproc.v1.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for substate. */ public int getSubstateValue() { return substate_; @@ -659,6 +694,8 @@ public int getSubstateValue() { * * .google.cloud.dataproc.v1.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The substate. */ public com.google.cloud.dataproc.v1.ClusterStatus.Substate getSubstate() { @SuppressWarnings("deprecation") @@ -1054,6 +1091,8 @@ public Builder mergeFrom( * * .google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -1068,6 +1107,9 @@ public int getStateValue() { * * .google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. */ public Builder setStateValue(int value) { state_ = value; @@ -1084,6 +1126,8 @@ public Builder setStateValue(int value) { * * .google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1.ClusterStatus.State getState() { @SuppressWarnings("deprecation") @@ -1103,6 +1147,9 @@ public com.google.cloud.dataproc.v1.ClusterStatus.State getState() { * * .google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The state to set. + * @return This builder for chaining. */ public Builder setState(com.google.cloud.dataproc.v1.ClusterStatus.State value) { if (value == null) { @@ -1123,6 +1170,8 @@ public Builder setState(com.google.cloud.dataproc.v1.ClusterStatus.State value) * * .google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ public Builder clearState() { @@ -1142,6 +1191,8 @@ public Builder clearState() { * * string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; * + * + * @return The detail. */ public java.lang.String getDetail() { java.lang.Object ref = detail_; @@ -1164,6 +1215,8 @@ public java.lang.String getDetail() { * * string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; * + * + * @return The bytes for detail. */ public com.google.protobuf.ByteString getDetailBytes() { java.lang.Object ref = detail_; @@ -1186,6 +1239,9 @@ public com.google.protobuf.ByteString getDetailBytes() { * * string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The detail to set. + * @return This builder for chaining. */ public Builder setDetail(java.lang.String value) { if (value == null) { @@ -1206,6 +1262,8 @@ public Builder setDetail(java.lang.String value) { * * string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearDetail() { @@ -1223,6 +1281,9 @@ public Builder clearDetail() { * * string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The bytes for detail to set. + * @return This builder for chaining. */ public Builder setDetailBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1251,6 +1312,8 @@ public Builder setDetailBytes(com.google.protobuf.ByteString value) { * * .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the stateStartTime field is set. */ public boolean hasStateStartTime() { return stateStartTimeBuilder_ != null || stateStartTime_ != null; @@ -1265,6 +1328,8 @@ public boolean hasStateStartTime() { * * .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The stateStartTime. */ public com.google.protobuf.Timestamp getStateStartTime() { if (stateStartTimeBuilder_ == null) { @@ -1446,6 +1511,8 @@ public com.google.protobuf.TimestampOrBuilder getStateStartTimeOrBuilder() { * * .google.cloud.dataproc.v1.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for substate. */ public int getSubstateValue() { return substate_; @@ -1461,6 +1528,9 @@ public int getSubstateValue() { * * .google.cloud.dataproc.v1.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The enum numeric value on the wire for substate to set. + * @return This builder for chaining. */ public Builder setSubstateValue(int value) { substate_ = value; @@ -1478,6 +1548,8 @@ public Builder setSubstateValue(int value) { * * .google.cloud.dataproc.v1.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The substate. */ public com.google.cloud.dataproc.v1.ClusterStatus.Substate getSubstate() { @SuppressWarnings("deprecation") @@ -1498,6 +1570,9 @@ public com.google.cloud.dataproc.v1.ClusterStatus.Substate getSubstate() { * * .google.cloud.dataproc.v1.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The substate to set. + * @return This builder for chaining. */ public Builder setSubstate(com.google.cloud.dataproc.v1.ClusterStatus.Substate value) { if (value == null) { @@ -1519,6 +1594,8 @@ public Builder setSubstate(com.google.cloud.dataproc.v1.ClusterStatus.Substate v * * .google.cloud.dataproc.v1.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ public Builder clearSubstate() { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterStatusOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterStatusOrBuilder.java index 32811566..809bc932 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterStatusOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterStatusOrBuilder.java @@ -33,6 +33,8 @@ public interface ClusterStatusOrBuilder * * .google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ int getStateValue(); /** @@ -45,6 +47,8 @@ public interface ClusterStatusOrBuilder * * .google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ com.google.cloud.dataproc.v1.ClusterStatus.State getState(); @@ -58,6 +62,8 @@ public interface ClusterStatusOrBuilder * * string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; * + * + * @return The detail. */ java.lang.String getDetail(); /** @@ -70,6 +76,8 @@ public interface ClusterStatusOrBuilder * * string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; * + * + * @return The bytes for detail. */ com.google.protobuf.ByteString getDetailBytes(); @@ -83,6 +91,8 @@ public interface ClusterStatusOrBuilder * * .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the stateStartTime field is set. */ boolean hasStateStartTime(); /** @@ -95,6 +105,8 @@ public interface ClusterStatusOrBuilder * * .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The stateStartTime. */ com.google.protobuf.Timestamp getStateStartTime(); /** @@ -121,6 +133,8 @@ public interface ClusterStatusOrBuilder * * .google.cloud.dataproc.v1.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for substate. */ int getSubstateValue(); /** @@ -134,6 +148,8 @@ public interface ClusterStatusOrBuilder * * .google.cloud.dataproc.v1.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The substate. */ com.google.cloud.dataproc.v1.ClusterStatus.Substate getSubstate(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClustersProto.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClustersProto.java index 5d9a1412..3fd6046c 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClustersProto.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClustersProto.java @@ -329,28 +329,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "o/googleapis/cloud/dataproc/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.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.dataproc.v1.OperationsProto.getDescriptor(), - com.google.cloud.dataproc.v1.SharedProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.cloud.dataproc.v1.OperationsProto.getDescriptor(), + com.google.cloud.dataproc.v1.SharedProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); internal_static_google_cloud_dataproc_v1_Cluster_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_dataproc_v1_Cluster_fieldAccessorTable = diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Component.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Component.java index 44c2e83d..edc57d46 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Component.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Component.java @@ -140,12 +140,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static Component valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static Component forNumber(int value) { switch (value) { case 0: diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateAutoscalingPolicyRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateAutoscalingPolicyRequest.java index 93c36103..9fca630e 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateAutoscalingPolicyRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateAutoscalingPolicyRequest.java @@ -42,6 +42,12 @@ private CreateAutoscalingPolicyRequest() { parent_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateAutoscalingPolicyRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private CreateAutoscalingPolicyRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -142,6 +147,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -171,6 +178,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -194,6 +203,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * .google.cloud.dataproc.v1.AutoscalingPolicy policy = 2; + * + * @return Whether the policy field is set. */ public boolean hasPolicy() { return policy_ != null; @@ -206,6 +217,8 @@ public boolean hasPolicy() { * * * .google.cloud.dataproc.v1.AutoscalingPolicy policy = 2; + * + * @return The policy. */ public com.google.cloud.dataproc.v1.AutoscalingPolicy getPolicy() { return policy_ == null @@ -590,6 +603,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -619,6 +634,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -648,6 +665,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -675,6 +695,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -699,6 +721,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -725,6 +750,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dataproc.v1.AutoscalingPolicy policy = 2; + * + * @return Whether the policy field is set. */ public boolean hasPolicy() { return policyBuilder_ != null || policy_ != null; @@ -737,6 +764,8 @@ public boolean hasPolicy() { * * * .google.cloud.dataproc.v1.AutoscalingPolicy policy = 2; + * + * @return The policy. */ public com.google.cloud.dataproc.v1.AutoscalingPolicy getPolicy() { if (policyBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateAutoscalingPolicyRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateAutoscalingPolicyRequestOrBuilder.java index 6668a03c..36dd15ee 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateAutoscalingPolicyRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateAutoscalingPolicyRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface CreateAutoscalingPolicyRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -59,6 +61,8 @@ public interface CreateAutoscalingPolicyRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -70,6 +74,8 @@ public interface CreateAutoscalingPolicyRequestOrBuilder * * * .google.cloud.dataproc.v1.AutoscalingPolicy policy = 2; + * + * @return Whether the policy field is set. */ boolean hasPolicy(); /** @@ -80,6 +86,8 @@ public interface CreateAutoscalingPolicyRequestOrBuilder * * * .google.cloud.dataproc.v1.AutoscalingPolicy policy = 2; + * + * @return The policy. */ com.google.cloud.dataproc.v1.AutoscalingPolicy getPolicy(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequest.java index 358f63af..5daab432 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequest.java @@ -43,6 +43,12 @@ private CreateClusterRequest() { requestId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateClusterRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private CreateClusterRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -149,6 +154,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -170,6 +177,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -193,6 +202,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -213,6 +224,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -237,6 +250,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * .google.cloud.dataproc.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the cluster field is set. */ public boolean hasCluster() { return cluster_ != null; @@ -250,6 +265,8 @@ public boolean hasCluster() { * * .google.cloud.dataproc.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The cluster. */ public com.google.cloud.dataproc.v1.Cluster getCluster() { return cluster_ == null ? com.google.cloud.dataproc.v1.Cluster.getDefaultInstance() : cluster_; @@ -286,6 +303,8 @@ public com.google.cloud.dataproc.v1.ClusterOrBuilder getClusterOrBuilder() { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -314,6 +333,8 @@ public java.lang.String getRequestId() { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -715,6 +736,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -736,6 +759,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -757,6 +782,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -776,6 +804,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -792,6 +822,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -813,6 +846,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -833,6 +868,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -853,6 +890,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -871,6 +911,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -886,6 +928,9 @@ public Builder clearRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -914,6 +959,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the cluster field is set. */ public boolean hasCluster() { return clusterBuilder_ != null || cluster_ != null; @@ -928,6 +975,8 @@ public boolean hasCluster() { * * .google.cloud.dataproc.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The cluster. */ public com.google.cloud.dataproc.v1.Cluster getCluster() { if (clusterBuilder_ == null) { @@ -1114,6 +1163,8 @@ public com.google.cloud.dataproc.v1.ClusterOrBuilder getClusterOrBuilder() { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -1142,6 +1193,8 @@ public java.lang.String getRequestId() { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -1170,6 +1223,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The requestId to set. + * @return This builder for chaining. */ public Builder setRequestId(java.lang.String value) { if (value == null) { @@ -1196,6 +1252,8 @@ public Builder setRequestId(java.lang.String value) { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1219,6 +1277,9 @@ public Builder clearRequestId() { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. */ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequestOrBuilder.java index b899bbcd..7f24af8d 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface CreateClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface CreateClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface CreateClusterRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface CreateClusterRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -76,6 +84,8 @@ public interface CreateClusterRequestOrBuilder * * .google.cloud.dataproc.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the cluster field is set. */ boolean hasCluster(); /** @@ -87,6 +97,8 @@ public interface CreateClusterRequestOrBuilder * * .google.cloud.dataproc.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The cluster. */ com.google.cloud.dataproc.v1.Cluster getCluster(); /** @@ -117,6 +129,8 @@ public interface CreateClusterRequestOrBuilder * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ java.lang.String getRequestId(); /** @@ -135,6 +149,8 @@ public interface CreateClusterRequestOrBuilder * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateWorkflowTemplateRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateWorkflowTemplateRequest.java index de2e0388..83350cd7 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateWorkflowTemplateRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateWorkflowTemplateRequest.java @@ -41,6 +41,12 @@ private CreateWorkflowTemplateRequest() { parent_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateWorkflowTemplateRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private CreateWorkflowTemplateRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -141,6 +146,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -170,6 +177,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -195,6 +204,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * .google.cloud.dataproc.v1.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the template field is set. */ public boolean hasTemplate() { return template_ != null; @@ -209,6 +220,8 @@ public boolean hasTemplate() { * * .google.cloud.dataproc.v1.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The template. */ public com.google.cloud.dataproc.v1.WorkflowTemplate getTemplate() { return template_ == null @@ -595,6 +608,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -624,6 +639,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -653,6 +670,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -680,6 +700,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -704,6 +726,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -732,6 +757,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the template field is set. */ public boolean hasTemplate() { return templateBuilder_ != null || template_ != null; @@ -746,6 +773,8 @@ public boolean hasTemplate() { * * .google.cloud.dataproc.v1.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The template. */ public com.google.cloud.dataproc.v1.WorkflowTemplate getTemplate() { if (templateBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateWorkflowTemplateRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateWorkflowTemplateRequestOrBuilder.java index f5835d09..b178e497 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateWorkflowTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateWorkflowTemplateRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface CreateWorkflowTemplateRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -59,6 +61,8 @@ public interface CreateWorkflowTemplateRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -72,6 +76,8 @@ public interface CreateWorkflowTemplateRequestOrBuilder * * .google.cloud.dataproc.v1.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the template field is set. */ boolean hasTemplate(); /** @@ -84,6 +90,8 @@ public interface CreateWorkflowTemplateRequestOrBuilder * * .google.cloud.dataproc.v1.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The template. */ com.google.cloud.dataproc.v1.WorkflowTemplate getTemplate(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteAutoscalingPolicyRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteAutoscalingPolicyRequest.java index 5d2c3d83..61a2836d 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteAutoscalingPolicyRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteAutoscalingPolicyRequest.java @@ -43,6 +43,12 @@ private DeleteAutoscalingPolicyRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteAutoscalingPolicyRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private DeleteAutoscalingPolicyRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -127,6 +132,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -156,6 +163,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -507,6 +516,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -536,6 +547,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -565,6 +578,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -592,6 +608,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -616,6 +634,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteAutoscalingPolicyRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteAutoscalingPolicyRequestOrBuilder.java index bab597e9..86c2752f 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteAutoscalingPolicyRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteAutoscalingPolicyRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface DeleteAutoscalingPolicyRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -59,6 +61,8 @@ public interface DeleteAutoscalingPolicyRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequest.java index f36e0943..e5f7ab50 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequest.java @@ -45,6 +45,12 @@ private DeleteClusterRequest() { requestId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteClusterRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -58,7 +64,6 @@ private DeleteClusterRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -149,6 +154,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -170,6 +177,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -193,6 +202,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -213,6 +224,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -236,6 +249,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -256,6 +271,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -280,6 +297,8 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -301,6 +320,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -332,6 +353,8 @@ public com.google.protobuf.ByteString getClusterUuidBytes() { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -360,6 +383,8 @@ public java.lang.String getRequestId() { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -765,6 +790,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -786,6 +813,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -807,6 +836,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -826,6 +858,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -842,6 +876,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -863,6 +900,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -883,6 +922,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -903,6 +944,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -921,6 +965,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -936,6 +982,9 @@ public Builder clearRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -957,6 +1006,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -977,6 +1028,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -997,6 +1050,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -1015,6 +1071,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -1030,6 +1088,9 @@ public Builder clearClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1052,6 +1113,8 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { * * * string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -1073,6 +1136,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -1094,6 +1159,9 @@ public com.google.protobuf.ByteString getClusterUuidBytes() { * * * string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuid(java.lang.String value) { if (value == null) { @@ -1113,6 +1181,8 @@ public Builder setClusterUuid(java.lang.String value) { * * * string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearClusterUuid() { @@ -1129,6 +1199,9 @@ public Builder clearClusterUuid() { * * * string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuidBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1158,6 +1231,8 @@ public Builder setClusterUuidBytes(com.google.protobuf.ByteString value) { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -1186,6 +1261,8 @@ public java.lang.String getRequestId() { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -1214,6 +1291,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The requestId to set. + * @return This builder for chaining. */ public Builder setRequestId(java.lang.String value) { if (value == null) { @@ -1240,6 +1320,8 @@ public Builder setRequestId(java.lang.String value) { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1263,6 +1345,9 @@ public Builder clearRequestId() { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. */ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequestOrBuilder.java index d83c7398..232c2f3f 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface DeleteClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface DeleteClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface DeleteClusterRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface DeleteClusterRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface DeleteClusterRequestOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -85,6 +95,8 @@ public interface DeleteClusterRequestOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); @@ -97,6 +109,8 @@ public interface DeleteClusterRequestOrBuilder * * * string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The clusterUuid. */ java.lang.String getClusterUuid(); /** @@ -108,6 +122,8 @@ public interface DeleteClusterRequestOrBuilder * * * string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for clusterUuid. */ com.google.protobuf.ByteString getClusterUuidBytes(); @@ -127,6 +143,8 @@ public interface DeleteClusterRequestOrBuilder * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ java.lang.String getRequestId(); /** @@ -145,6 +163,8 @@ public interface DeleteClusterRequestOrBuilder * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteJobRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteJobRequest.java index 8d5671cc..390f6962 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteJobRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteJobRequest.java @@ -43,6 +43,12 @@ private DeleteJobRequest() { jobId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteJobRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private DeleteJobRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -154,6 +161,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -177,6 +186,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -197,6 +208,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -220,6 +233,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -240,6 +255,8 @@ public java.lang.String getJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -611,6 +628,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -632,6 +651,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -653,6 +674,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -672,6 +696,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -688,6 +714,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -709,6 +738,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -729,6 +760,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -749,6 +782,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -767,6 +803,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -782,6 +820,9 @@ public Builder clearRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -803,6 +844,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -823,6 +866,8 @@ public java.lang.String getJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -843,6 +888,9 @@ public com.google.protobuf.ByteString getJobIdBytes() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The jobId to set. + * @return This builder for chaining. */ public Builder setJobId(java.lang.String value) { if (value == null) { @@ -861,6 +909,8 @@ public Builder setJobId(java.lang.String value) { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearJobId() { @@ -876,6 +926,9 @@ public Builder clearJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for jobId to set. + * @return This builder for chaining. */ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteJobRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteJobRequestOrBuilder.java index c2c804ec..fd7b266b 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteJobRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteJobRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface DeleteJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface DeleteJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface DeleteJobRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface DeleteJobRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface DeleteJobRequestOrBuilder * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ java.lang.String getJobId(); /** @@ -85,6 +95,8 @@ public interface DeleteJobRequestOrBuilder * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ com.google.protobuf.ByteString getJobIdBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteWorkflowTemplateRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteWorkflowTemplateRequest.java index e7b7c67e..59b2b31e 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteWorkflowTemplateRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteWorkflowTemplateRequest.java @@ -42,6 +42,12 @@ private DeleteWorkflowTemplateRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteWorkflowTemplateRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private DeleteWorkflowTemplateRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -131,6 +136,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -160,6 +167,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -185,6 +194,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * int32 version = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. */ public int getVersion() { return version_; @@ -543,6 +554,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -572,6 +585,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -601,6 +616,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -628,6 +646,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -652,6 +672,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -675,6 +698,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * int32 version = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. */ public int getVersion() { return version_; @@ -689,6 +714,9 @@ public int getVersion() { * * * int32 version = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The version to set. + * @return This builder for chaining. */ public Builder setVersion(int value) { @@ -706,6 +734,8 @@ public Builder setVersion(int value) { * * * int32 version = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearVersion() { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteWorkflowTemplateRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteWorkflowTemplateRequestOrBuilder.java index da415f12..ab27f513 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteWorkflowTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteWorkflowTemplateRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface DeleteWorkflowTemplateRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -59,6 +61,8 @@ public interface DeleteWorkflowTemplateRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -72,6 +76,8 @@ public interface DeleteWorkflowTemplateRequestOrBuilder * * * int32 version = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. */ int getVersion(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterRequest.java index 87eb8be0..427c2887 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterRequest.java @@ -43,6 +43,12 @@ private DiagnoseClusterRequest() { clusterName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DiagnoseClusterRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private DiagnoseClusterRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -154,6 +161,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -177,6 +186,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -197,6 +208,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -220,6 +233,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -240,6 +255,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -613,6 +630,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -634,6 +653,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -655,6 +676,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -674,6 +698,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -690,6 +716,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -711,6 +740,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -731,6 +762,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -751,6 +784,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -769,6 +805,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -784,6 +822,9 @@ public Builder clearRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -805,6 +846,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -825,6 +868,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -845,6 +890,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -863,6 +911,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -878,6 +928,9 @@ public Builder clearClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterRequestOrBuilder.java index d1484f7f..a49b1053 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface DiagnoseClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface DiagnoseClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface DiagnoseClusterRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface DiagnoseClusterRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface DiagnoseClusterRequestOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -85,6 +95,8 @@ public interface DiagnoseClusterRequestOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResults.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResults.java index 66d289bd..6a75db8a 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResults.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResults.java @@ -41,6 +41,12 @@ private DiagnoseClusterResults() { outputUri_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DiagnoseClusterResults(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private DiagnoseClusterResults( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -118,6 +123,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string output_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The outputUri. */ public java.lang.String getOutputUri() { java.lang.Object ref = outputUri_; @@ -140,6 +147,8 @@ public java.lang.String getOutputUri() { * * * string output_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for outputUri. */ public com.google.protobuf.ByteString getOutputUriBytes() { java.lang.Object ref = outputUri_; @@ -482,6 +491,8 @@ public Builder mergeFrom( * * * string output_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The outputUri. */ public java.lang.String getOutputUri() { java.lang.Object ref = outputUri_; @@ -504,6 +515,8 @@ public java.lang.String getOutputUri() { * * * string output_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for outputUri. */ public com.google.protobuf.ByteString getOutputUriBytes() { java.lang.Object ref = outputUri_; @@ -526,6 +539,9 @@ public com.google.protobuf.ByteString getOutputUriBytes() { * * * string output_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The outputUri to set. + * @return This builder for chaining. */ public Builder setOutputUri(java.lang.String value) { if (value == null) { @@ -546,6 +562,8 @@ public Builder setOutputUri(java.lang.String value) { * * * string output_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearOutputUri() { @@ -563,6 +581,9 @@ public Builder clearOutputUri() { * * * string output_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for outputUri to set. + * @return This builder for chaining. */ public Builder setOutputUriBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResultsOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResultsOrBuilder.java index a1c8db6c..8953a03b 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResultsOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResultsOrBuilder.java @@ -33,6 +33,8 @@ public interface DiagnoseClusterResultsOrBuilder * * * string output_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The outputUri. */ java.lang.String getOutputUri(); /** @@ -45,6 +47,8 @@ public interface DiagnoseClusterResultsOrBuilder * * * string output_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for outputUri. */ com.google.protobuf.ByteString getOutputUriBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfig.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfig.java index d6bb8c7f..d36d7df8 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfig.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfig.java @@ -41,6 +41,12 @@ private DiskConfig() { bootDiskType_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DiskConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private DiskConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -128,6 +133,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bootDiskType. */ public java.lang.String getBootDiskType() { java.lang.Object ref = bootDiskType_; @@ -150,6 +157,8 @@ public java.lang.String getBootDiskType() { * * * string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for bootDiskType. */ public com.google.protobuf.ByteString getBootDiskTypeBytes() { java.lang.Object ref = bootDiskType_; @@ -173,6 +182,8 @@ public com.google.protobuf.ByteString getBootDiskTypeBytes() { * * * int32 boot_disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bootDiskSizeGb. */ public int getBootDiskSizeGb() { return bootDiskSizeGb_; @@ -193,6 +204,8 @@ public int getBootDiskSizeGb() { * * * int32 num_local_ssds = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The numLocalSsds. */ public int getNumLocalSsds() { return numLocalSsds_; @@ -554,6 +567,8 @@ public Builder mergeFrom( * * * string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bootDiskType. */ public java.lang.String getBootDiskType() { java.lang.Object ref = bootDiskType_; @@ -576,6 +591,8 @@ public java.lang.String getBootDiskType() { * * * string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for bootDiskType. */ public com.google.protobuf.ByteString getBootDiskTypeBytes() { java.lang.Object ref = bootDiskType_; @@ -598,6 +615,9 @@ public com.google.protobuf.ByteString getBootDiskTypeBytes() { * * * string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bootDiskType to set. + * @return This builder for chaining. */ public Builder setBootDiskType(java.lang.String value) { if (value == null) { @@ -618,6 +638,8 @@ public Builder setBootDiskType(java.lang.String value) { * * * string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearBootDiskType() { @@ -635,6 +657,9 @@ public Builder clearBootDiskType() { * * * string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for bootDiskType to set. + * @return This builder for chaining. */ public Builder setBootDiskTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -656,6 +681,8 @@ public Builder setBootDiskTypeBytes(com.google.protobuf.ByteString value) { * * * int32 boot_disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bootDiskSizeGb. */ public int getBootDiskSizeGb() { return bootDiskSizeGb_; @@ -668,6 +695,9 @@ public int getBootDiskSizeGb() { * * * int32 boot_disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bootDiskSizeGb to set. + * @return This builder for chaining. */ public Builder setBootDiskSizeGb(int value) { @@ -683,6 +713,8 @@ public Builder setBootDiskSizeGb(int value) { * * * int32 boot_disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearBootDiskSizeGb() { @@ -705,6 +737,8 @@ public Builder clearBootDiskSizeGb() { * * * int32 num_local_ssds = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The numLocalSsds. */ public int getNumLocalSsds() { return numLocalSsds_; @@ -722,6 +756,9 @@ public int getNumLocalSsds() { * * * int32 num_local_ssds = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The numLocalSsds to set. + * @return This builder for chaining. */ public Builder setNumLocalSsds(int value) { @@ -742,6 +779,8 @@ public Builder setNumLocalSsds(int value) { * * * int32 num_local_ssds = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearNumLocalSsds() { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfigOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfigOrBuilder.java index 16605fcc..7668b4f1 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfigOrBuilder.java @@ -33,6 +33,8 @@ public interface DiskConfigOrBuilder * * * string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bootDiskType. */ java.lang.String getBootDiskType(); /** @@ -45,6 +47,8 @@ public interface DiskConfigOrBuilder * * * string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for bootDiskType. */ com.google.protobuf.ByteString getBootDiskTypeBytes(); @@ -56,6 +60,8 @@ public interface DiskConfigOrBuilder * * * int32 boot_disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bootDiskSizeGb. */ int getBootDiskSizeGb(); @@ -72,6 +78,8 @@ public interface DiskConfigOrBuilder * * * int32 num_local_ssds = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The numLocalSsds. */ int getNumLocalSsds(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/EncryptionConfig.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/EncryptionConfig.java index 6b8fae81..bc9c6bb5 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/EncryptionConfig.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/EncryptionConfig.java @@ -41,6 +41,12 @@ private EncryptionConfig() { gcePdKmsKeyName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new EncryptionConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private EncryptionConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The gcePdKmsKeyName. */ public java.lang.String getGcePdKmsKeyName() { java.lang.Object ref = gcePdKmsKeyName_; @@ -138,6 +145,8 @@ public java.lang.String getGcePdKmsKeyName() { * * * string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for gcePdKmsKeyName. */ public com.google.protobuf.ByteString getGcePdKmsKeyNameBytes() { java.lang.Object ref = gcePdKmsKeyName_; @@ -477,6 +486,8 @@ public Builder mergeFrom( * * * string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The gcePdKmsKeyName. */ public java.lang.String getGcePdKmsKeyName() { java.lang.Object ref = gcePdKmsKeyName_; @@ -498,6 +509,8 @@ public java.lang.String getGcePdKmsKeyName() { * * * string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for gcePdKmsKeyName. */ public com.google.protobuf.ByteString getGcePdKmsKeyNameBytes() { java.lang.Object ref = gcePdKmsKeyName_; @@ -519,6 +532,9 @@ public com.google.protobuf.ByteString getGcePdKmsKeyNameBytes() { * * * string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The gcePdKmsKeyName to set. + * @return This builder for chaining. */ public Builder setGcePdKmsKeyName(java.lang.String value) { if (value == null) { @@ -538,6 +554,8 @@ public Builder setGcePdKmsKeyName(java.lang.String value) { * * * string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearGcePdKmsKeyName() { @@ -554,6 +572,9 @@ public Builder clearGcePdKmsKeyName() { * * * string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for gcePdKmsKeyName to set. + * @return This builder for chaining. */ public Builder setGcePdKmsKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/EncryptionConfigOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/EncryptionConfigOrBuilder.java index 6f555cca..815cbcdb 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/EncryptionConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/EncryptionConfigOrBuilder.java @@ -32,6 +32,8 @@ public interface EncryptionConfigOrBuilder * * * string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The gcePdKmsKeyName. */ java.lang.String getGcePdKmsKeyName(); /** @@ -43,6 +45,8 @@ public interface EncryptionConfigOrBuilder * * * string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for gcePdKmsKeyName. */ com.google.protobuf.ByteString getGcePdKmsKeyNameBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfig.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfig.java index 29ae6867..5b178c6a 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfig.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfig.java @@ -47,6 +47,12 @@ private GceClusterConfig() { tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GceClusterConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -88,9 +94,9 @@ private GceClusterConfig( case 26: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { serviceAccountScopes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000001; } serviceAccountScopes_.add(s); break; @@ -98,20 +104,20 @@ private GceClusterConfig( case 34: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000040) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000040; + mutable_bitField0_ |= 0x00000002; } tags_.add(s); break; } case 42: { - if (!((mutable_bitField0_ & 0x00000080) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000080; + mutable_bitField0_ |= 0x00000004; } com.google.protobuf.MapEntry metadata__ = input.readMessage( @@ -153,10 +159,10 @@ private GceClusterConfig( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000020) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { serviceAccountScopes_ = serviceAccountScopes_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000040) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { tags_ = tags_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -190,7 +196,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1.GceClusterConfig.Builder.class); } - private int bitField0_; public static final int ZONE_URI_FIELD_NUMBER = 1; private volatile java.lang.Object zoneUri_; /** @@ -209,6 +214,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The zoneUri. */ public java.lang.String getZoneUri() { java.lang.Object ref = zoneUri_; @@ -237,6 +244,8 @@ public java.lang.String getZoneUri() { * * * string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for zoneUri. */ public com.google.protobuf.ByteString getZoneUriBytes() { java.lang.Object ref = zoneUri_; @@ -268,6 +277,8 @@ public com.google.protobuf.ByteString getZoneUriBytes() { * * * string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; @@ -296,6 +307,8 @@ public java.lang.String getNetworkUri() { * * * string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for networkUri. */ public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; @@ -324,6 +337,8 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { * * * string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The subnetworkUri. */ public java.lang.String getSubnetworkUri() { java.lang.Object ref = subnetworkUri_; @@ -349,6 +364,8 @@ public java.lang.String getSubnetworkUri() { * * * string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for subnetworkUri. */ public com.google.protobuf.ByteString getSubnetworkUriBytes() { java.lang.Object ref = subnetworkUri_; @@ -377,6 +394,8 @@ public com.google.protobuf.ByteString getSubnetworkUriBytes() { * * * bool internal_ip_only = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The internalIpOnly. */ public boolean getInternalIpOnly() { return internalIpOnly_; @@ -400,6 +419,8 @@ public boolean getInternalIpOnly() { * * * string service_account = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; @@ -428,6 +449,8 @@ public java.lang.String getServiceAccount() { * * * string service_account = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for serviceAccount. */ public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; @@ -462,6 +485,8 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return A list containing the serviceAccountScopes. */ public com.google.protobuf.ProtocolStringList getServiceAccountScopesList() { return serviceAccountScopes_; @@ -485,6 +510,8 @@ public com.google.protobuf.ProtocolStringList getServiceAccountScopesList() { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The count of serviceAccountScopes. */ public int getServiceAccountScopesCount() { return serviceAccountScopes_.size(); @@ -508,6 +535,9 @@ public int getServiceAccountScopesCount() { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the element to return. + * @return The serviceAccountScopes at the given index. */ public java.lang.String getServiceAccountScopes(int index) { return serviceAccountScopes_.get(index); @@ -531,6 +561,9 @@ public java.lang.String getServiceAccountScopes(int index) { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the value to return. + * @return The bytes of the serviceAccountScopes at the given index. */ public com.google.protobuf.ByteString getServiceAccountScopesBytes(int index) { return serviceAccountScopes_.getByteString(index); @@ -547,6 +580,8 @@ public com.google.protobuf.ByteString getServiceAccountScopesBytes(int index) { * * * repeated string tags = 4; + * + * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; @@ -560,6 +595,8 @@ public com.google.protobuf.ProtocolStringList getTagsList() { * * * repeated string tags = 4; + * + * @return The count of tags. */ public int getTagsCount() { return tags_.size(); @@ -573,6 +610,9 @@ public int getTagsCount() { * * * repeated string tags = 4; + * + * @param index The index of the element to return. + * @return The tags at the given index. */ public java.lang.String getTags(int index) { return tags_.get(index); @@ -586,6 +626,9 @@ public java.lang.String getTags(int index) { * * * repeated string tags = 4; + * + * @param index The index of the value to return. + * @return The bytes of the tags at the given index. */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); @@ -1015,9 +1058,9 @@ public Builder clear() { serviceAccount_ = ""; serviceAccountScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000001); tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000002); internalGetMutableMetadata().clear(); return this; } @@ -1047,25 +1090,23 @@ public com.google.cloud.dataproc.v1.GceClusterConfig buildPartial() { com.google.cloud.dataproc.v1.GceClusterConfig result = new com.google.cloud.dataproc.v1.GceClusterConfig(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.zoneUri_ = zoneUri_; result.networkUri_ = networkUri_; result.subnetworkUri_ = subnetworkUri_; result.internalIpOnly_ = internalIpOnly_; result.serviceAccount_ = serviceAccount_; - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { serviceAccountScopes_ = serviceAccountScopes_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000001); } result.serviceAccountScopes_ = serviceAccountScopes_; - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { tags_ = tags_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000002); } result.tags_ = tags_; result.metadata_ = internalGetMetadata(); result.metadata_.makeImmutable(); - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1137,7 +1178,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.GceClusterConfig other) { if (!other.serviceAccountScopes_.isEmpty()) { if (serviceAccountScopes_.isEmpty()) { serviceAccountScopes_ = other.serviceAccountScopes_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureServiceAccountScopesIsMutable(); serviceAccountScopes_.addAll(other.serviceAccountScopes_); @@ -1147,7 +1188,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.GceClusterConfig other) { if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { tags_ = other.tags_; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureTagsIsMutable(); tags_.addAll(other.tags_); @@ -1203,6 +1244,8 @@ public Builder mergeFrom( * * * string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The zoneUri. */ public java.lang.String getZoneUri() { java.lang.Object ref = zoneUri_; @@ -1231,6 +1274,8 @@ public java.lang.String getZoneUri() { * * * string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for zoneUri. */ public com.google.protobuf.ByteString getZoneUriBytes() { java.lang.Object ref = zoneUri_; @@ -1259,6 +1304,9 @@ public com.google.protobuf.ByteString getZoneUriBytes() { * * * string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The zoneUri to set. + * @return This builder for chaining. */ public Builder setZoneUri(java.lang.String value) { if (value == null) { @@ -1285,6 +1333,8 @@ public Builder setZoneUri(java.lang.String value) { * * * string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearZoneUri() { @@ -1308,6 +1358,9 @@ public Builder clearZoneUri() { * * * string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for zoneUri to set. + * @return This builder for chaining. */ public Builder setZoneUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1337,6 +1390,8 @@ public Builder setZoneUriBytes(com.google.protobuf.ByteString value) { * * * string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; @@ -1365,6 +1420,8 @@ public java.lang.String getNetworkUri() { * * * string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for networkUri. */ public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; @@ -1393,6 +1450,9 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { * * * string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The networkUri to set. + * @return This builder for chaining. */ public Builder setNetworkUri(java.lang.String value) { if (value == null) { @@ -1419,6 +1479,8 @@ public Builder setNetworkUri(java.lang.String value) { * * * string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1442,6 +1504,9 @@ public Builder clearNetworkUri() { * * * string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for networkUri to set. + * @return This builder for chaining. */ public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1468,6 +1533,8 @@ public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { * * * string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The subnetworkUri. */ public java.lang.String getSubnetworkUri() { java.lang.Object ref = subnetworkUri_; @@ -1493,6 +1560,8 @@ public java.lang.String getSubnetworkUri() { * * * string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for subnetworkUri. */ public com.google.protobuf.ByteString getSubnetworkUriBytes() { java.lang.Object ref = subnetworkUri_; @@ -1518,6 +1587,9 @@ public com.google.protobuf.ByteString getSubnetworkUriBytes() { * * * string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The subnetworkUri to set. + * @return This builder for chaining. */ public Builder setSubnetworkUri(java.lang.String value) { if (value == null) { @@ -1541,6 +1613,8 @@ public Builder setSubnetworkUri(java.lang.String value) { * * * string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearSubnetworkUri() { @@ -1561,6 +1635,9 @@ public Builder clearSubnetworkUri() { * * * string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for subnetworkUri to set. + * @return This builder for chaining. */ public Builder setSubnetworkUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1587,6 +1664,8 @@ public Builder setSubnetworkUriBytes(com.google.protobuf.ByteString value) { * * * bool internal_ip_only = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The internalIpOnly. */ public boolean getInternalIpOnly() { return internalIpOnly_; @@ -1604,6 +1683,9 @@ public boolean getInternalIpOnly() { * * * bool internal_ip_only = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The internalIpOnly to set. + * @return This builder for chaining. */ public Builder setInternalIpOnly(boolean value) { @@ -1624,6 +1706,8 @@ public Builder setInternalIpOnly(boolean value) { * * * bool internal_ip_only = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearInternalIpOnly() { @@ -1649,6 +1733,8 @@ public Builder clearInternalIpOnly() { * * * string service_account = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; @@ -1677,6 +1763,8 @@ public java.lang.String getServiceAccount() { * * * string service_account = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for serviceAccount. */ public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; @@ -1705,6 +1793,9 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { * * * string service_account = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The serviceAccount to set. + * @return This builder for chaining. */ public Builder setServiceAccount(java.lang.String value) { if (value == null) { @@ -1731,6 +1822,8 @@ public Builder setServiceAccount(java.lang.String value) { * * * string service_account = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearServiceAccount() { @@ -1754,6 +1847,9 @@ public Builder clearServiceAccount() { * * * string service_account = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for serviceAccount to set. + * @return This builder for chaining. */ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1770,9 +1866,9 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureServiceAccountScopesIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { serviceAccountScopes_ = new com.google.protobuf.LazyStringArrayList(serviceAccountScopes_); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000001; } } /** @@ -1794,6 +1890,8 @@ private void ensureServiceAccountScopesIsMutable() { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return A list containing the serviceAccountScopes. */ public com.google.protobuf.ProtocolStringList getServiceAccountScopesList() { return serviceAccountScopes_.getUnmodifiableView(); @@ -1817,6 +1915,8 @@ public com.google.protobuf.ProtocolStringList getServiceAccountScopesList() { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The count of serviceAccountScopes. */ public int getServiceAccountScopesCount() { return serviceAccountScopes_.size(); @@ -1840,6 +1940,9 @@ public int getServiceAccountScopesCount() { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the element to return. + * @return The serviceAccountScopes at the given index. */ public java.lang.String getServiceAccountScopes(int index) { return serviceAccountScopes_.get(index); @@ -1863,6 +1966,9 @@ public java.lang.String getServiceAccountScopes(int index) { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the value to return. + * @return The bytes of the serviceAccountScopes at the given index. */ public com.google.protobuf.ByteString getServiceAccountScopesBytes(int index) { return serviceAccountScopes_.getByteString(index); @@ -1886,6 +1992,10 @@ public com.google.protobuf.ByteString getServiceAccountScopesBytes(int index) { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index to set the value at. + * @param value The serviceAccountScopes to set. + * @return This builder for chaining. */ public Builder setServiceAccountScopes(int index, java.lang.String value) { if (value == null) { @@ -1915,6 +2025,9 @@ public Builder setServiceAccountScopes(int index, java.lang.String value) { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The serviceAccountScopes to add. + * @return This builder for chaining. */ public Builder addServiceAccountScopes(java.lang.String value) { if (value == null) { @@ -1944,6 +2057,9 @@ public Builder addServiceAccountScopes(java.lang.String value) { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param values The serviceAccountScopes to add. + * @return This builder for chaining. */ public Builder addAllServiceAccountScopes(java.lang.Iterable values) { ensureServiceAccountScopesIsMutable(); @@ -1970,10 +2086,12 @@ public Builder addAllServiceAccountScopes(java.lang.Iterable v * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearServiceAccountScopes() { serviceAccountScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1996,6 +2114,9 @@ public Builder clearServiceAccountScopes() { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The bytes of the serviceAccountScopes to add. + * @return This builder for chaining. */ public Builder addServiceAccountScopesBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2012,9 +2133,9 @@ public Builder addServiceAccountScopesBytes(com.google.protobuf.ByteString value com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagsIsMutable() { - if (!((bitField0_ & 0x00000040) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000002; } } /** @@ -2026,6 +2147,8 @@ private void ensureTagsIsMutable() { * * * repeated string tags = 4; + * + * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); @@ -2039,6 +2162,8 @@ public com.google.protobuf.ProtocolStringList getTagsList() { * * * repeated string tags = 4; + * + * @return The count of tags. */ public int getTagsCount() { return tags_.size(); @@ -2052,6 +2177,9 @@ public int getTagsCount() { * * * repeated string tags = 4; + * + * @param index The index of the element to return. + * @return The tags at the given index. */ public java.lang.String getTags(int index) { return tags_.get(index); @@ -2065,6 +2193,9 @@ public java.lang.String getTags(int index) { * * * repeated string tags = 4; + * + * @param index The index of the value to return. + * @return The bytes of the tags at the given index. */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); @@ -2078,6 +2209,10 @@ public com.google.protobuf.ByteString getTagsBytes(int index) { * * * repeated string tags = 4; + * + * @param index The index to set the value at. + * @param value The tags to set. + * @return This builder for chaining. */ public Builder setTags(int index, java.lang.String value) { if (value == null) { @@ -2097,6 +2232,9 @@ public Builder setTags(int index, java.lang.String value) { * * * repeated string tags = 4; + * + * @param value The tags to add. + * @return This builder for chaining. */ public Builder addTags(java.lang.String value) { if (value == null) { @@ -2116,6 +2254,9 @@ public Builder addTags(java.lang.String value) { * * * repeated string tags = 4; + * + * @param values The tags to add. + * @return This builder for chaining. */ public Builder addAllTags(java.lang.Iterable values) { ensureTagsIsMutable(); @@ -2132,10 +2273,12 @@ public Builder addAllTags(java.lang.Iterable values) { * * * repeated string tags = 4; + * + * @return This builder for chaining. */ public Builder clearTags() { tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -2148,6 +2291,9 @@ public Builder clearTags() { * * * repeated string tags = 4; + * + * @param value The bytes of the tags to add. + * @return This builder for chaining. */ public Builder addTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfigOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfigOrBuilder.java index 1e4ee500..3b7a5a52 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfigOrBuilder.java @@ -39,6 +39,8 @@ public interface GceClusterConfigOrBuilder * * * string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The zoneUri. */ java.lang.String getZoneUri(); /** @@ -57,6 +59,8 @@ public interface GceClusterConfigOrBuilder * * * string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for zoneUri. */ com.google.protobuf.ByteString getZoneUriBytes(); @@ -76,6 +80,8 @@ public interface GceClusterConfigOrBuilder * * * string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The networkUri. */ java.lang.String getNetworkUri(); /** @@ -94,6 +100,8 @@ public interface GceClusterConfigOrBuilder * * * string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for networkUri. */ com.google.protobuf.ByteString getNetworkUriBytes(); @@ -110,6 +118,8 @@ public interface GceClusterConfigOrBuilder * * * string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The subnetworkUri. */ java.lang.String getSubnetworkUri(); /** @@ -125,6 +135,8 @@ public interface GceClusterConfigOrBuilder * * * string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for subnetworkUri. */ com.google.protobuf.ByteString getSubnetworkUriBytes(); @@ -141,6 +153,8 @@ public interface GceClusterConfigOrBuilder * * * bool internal_ip_only = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The internalIpOnly. */ boolean getInternalIpOnly(); @@ -160,6 +174,8 @@ public interface GceClusterConfigOrBuilder * * * string service_account = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** @@ -178,6 +194,8 @@ public interface GceClusterConfigOrBuilder * * * string service_account = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for serviceAccount. */ com.google.protobuf.ByteString getServiceAccountBytes(); @@ -200,6 +218,8 @@ public interface GceClusterConfigOrBuilder * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return A list containing the serviceAccountScopes. */ java.util.List getServiceAccountScopesList(); /** @@ -221,6 +241,8 @@ public interface GceClusterConfigOrBuilder * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The count of serviceAccountScopes. */ int getServiceAccountScopesCount(); /** @@ -242,6 +264,9 @@ public interface GceClusterConfigOrBuilder * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the element to return. + * @return The serviceAccountScopes at the given index. */ java.lang.String getServiceAccountScopes(int index); /** @@ -263,6 +288,9 @@ public interface GceClusterConfigOrBuilder * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the value to return. + * @return The bytes of the serviceAccountScopes at the given index. */ com.google.protobuf.ByteString getServiceAccountScopesBytes(int index); @@ -275,6 +303,8 @@ public interface GceClusterConfigOrBuilder * * * repeated string tags = 4; + * + * @return A list containing the tags. */ java.util.List getTagsList(); /** @@ -286,6 +316,8 @@ public interface GceClusterConfigOrBuilder * * * repeated string tags = 4; + * + * @return The count of tags. */ int getTagsCount(); /** @@ -297,6 +329,9 @@ public interface GceClusterConfigOrBuilder * * * repeated string tags = 4; + * + * @param index The index of the element to return. + * @return The tags at the given index. */ java.lang.String getTags(int index); /** @@ -308,6 +343,9 @@ public interface GceClusterConfigOrBuilder * * * repeated string tags = 4; + * + * @param index The index of the value to return. + * @return The bytes of the tags at the given index. */ com.google.protobuf.ByteString getTagsBytes(int index); diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetAutoscalingPolicyRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetAutoscalingPolicyRequest.java index b05f90dc..3234ba7a 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetAutoscalingPolicyRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetAutoscalingPolicyRequest.java @@ -41,6 +41,12 @@ private GetAutoscalingPolicyRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetAutoscalingPolicyRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private GetAutoscalingPolicyRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -125,6 +130,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -154,6 +161,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -504,6 +513,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -533,6 +544,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -562,6 +575,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -589,6 +605,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -613,6 +631,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetAutoscalingPolicyRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetAutoscalingPolicyRequestOrBuilder.java index 1380a560..bfc6a55e 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetAutoscalingPolicyRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetAutoscalingPolicyRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface GetAutoscalingPolicyRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -59,6 +61,8 @@ public interface GetAutoscalingPolicyRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetClusterRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetClusterRequest.java index 7daa5fb4..1e5affdd 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetClusterRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetClusterRequest.java @@ -43,6 +43,12 @@ private GetClusterRequest() { clusterName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetClusterRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private GetClusterRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -154,6 +161,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -177,6 +186,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -197,6 +208,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -220,6 +233,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -240,6 +255,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -611,6 +628,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -632,6 +651,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -653,6 +674,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -672,6 +696,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -688,6 +714,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -709,6 +738,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -729,6 +760,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -749,6 +782,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -767,6 +803,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -782,6 +820,9 @@ public Builder clearRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -803,6 +844,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -823,6 +866,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -843,6 +888,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -861,6 +909,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -876,6 +926,9 @@ public Builder clearClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetClusterRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetClusterRequestOrBuilder.java index 11df1f1e..da09621f 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetClusterRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetClusterRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface GetClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface GetClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface GetClusterRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface GetClusterRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface GetClusterRequestOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -85,6 +95,8 @@ public interface GetClusterRequestOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetJobRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetJobRequest.java index bd58b108..ade1a5cf 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetJobRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetJobRequest.java @@ -43,6 +43,12 @@ private GetJobRequest() { jobId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetJobRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private GetJobRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -154,6 +161,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -177,6 +186,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -197,6 +208,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -220,6 +233,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -240,6 +255,8 @@ public java.lang.String getJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -611,6 +628,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -632,6 +651,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -653,6 +674,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -672,6 +696,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -688,6 +714,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -709,6 +738,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -729,6 +760,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -749,6 +782,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -767,6 +803,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -782,6 +820,9 @@ public Builder clearRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -803,6 +844,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -823,6 +866,8 @@ public java.lang.String getJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -843,6 +888,9 @@ public com.google.protobuf.ByteString getJobIdBytes() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The jobId to set. + * @return This builder for chaining. */ public Builder setJobId(java.lang.String value) { if (value == null) { @@ -861,6 +909,8 @@ public Builder setJobId(java.lang.String value) { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearJobId() { @@ -876,6 +926,9 @@ public Builder clearJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for jobId to set. + * @return This builder for chaining. */ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetJobRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetJobRequestOrBuilder.java index ec71badd..c31294b0 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetJobRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetJobRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface GetJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface GetJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface GetJobRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface GetJobRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface GetJobRequestOrBuilder * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ java.lang.String getJobId(); /** @@ -85,6 +95,8 @@ public interface GetJobRequestOrBuilder * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ com.google.protobuf.ByteString getJobIdBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetWorkflowTemplateRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetWorkflowTemplateRequest.java index 1bddaa16..9c2f10ed 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetWorkflowTemplateRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetWorkflowTemplateRequest.java @@ -41,6 +41,12 @@ private GetWorkflowTemplateRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetWorkflowTemplateRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private GetWorkflowTemplateRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -130,6 +135,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -159,6 +166,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -184,6 +193,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * int32 version = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. */ public int getVersion() { return version_; @@ -541,6 +552,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -570,6 +583,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -599,6 +614,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -626,6 +644,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -650,6 +670,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -673,6 +696,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * int32 version = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. */ public int getVersion() { return version_; @@ -687,6 +712,9 @@ public int getVersion() { * * * int32 version = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The version to set. + * @return This builder for chaining. */ public Builder setVersion(int value) { @@ -704,6 +732,8 @@ public Builder setVersion(int value) { * * * int32 version = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearVersion() { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetWorkflowTemplateRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetWorkflowTemplateRequestOrBuilder.java index b674ba17..c5210c49 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetWorkflowTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetWorkflowTemplateRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface GetWorkflowTemplateRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -59,6 +61,8 @@ public interface GetWorkflowTemplateRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -72,6 +76,8 @@ public interface GetWorkflowTemplateRequestOrBuilder * * * int32 version = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. */ int getVersion(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJob.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJob.java index 42d8377f..0f5246ad 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJob.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJob.java @@ -48,6 +48,12 @@ private HadoopJob() { archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new HadoopJob(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -89,9 +95,9 @@ private HadoopJob( case 26: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000001; } args_.add(s); break; @@ -99,9 +105,9 @@ private HadoopJob( case 34: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { jarFileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000002; } jarFileUris_.add(s); break; @@ -109,9 +115,9 @@ private HadoopJob( case 42: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { fileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000004; } fileUris_.add(s); break; @@ -119,20 +125,20 @@ private HadoopJob( case 50: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { archiveUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000008; } archiveUris_.add(s); break; } case 58: { - if (!((mutable_bitField0_ & 0x00000040) != 0)) { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000040; + mutable_bitField0_ |= 0x00000010; } com.google.protobuf.MapEntry properties__ = input.readMessage( @@ -171,16 +177,16 @@ private HadoopJob( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000008) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000010) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { fileUris_ = fileUris_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000020) != 0)) { + if (((mutable_bitField0_ & 0x00000008) != 0)) { archiveUris_ = archiveUris_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -214,11 +220,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1.HadoopJob.Builder.class); } - private int bitField0_; private int driverCase_ = 0; private java.lang.Object driver_; - public enum DriverCase implements com.google.protobuf.Internal.EnumLite { + public enum DriverCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAIN_JAR_FILE_URI(1), MAIN_CLASS(2), DRIVER_NOT_SET(0); @@ -227,7 +235,11 @@ public enum DriverCase implements com.google.protobuf.Internal.EnumLite { private DriverCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static DriverCase valueOf(int value) { return forNumber(value); @@ -268,6 +280,8 @@ public DriverCase getDriverCase() { * * * string main_jar_file_uri = 1; + * + * @return The mainJarFileUri. */ public java.lang.String getMainJarFileUri() { java.lang.Object ref = ""; @@ -297,6 +311,8 @@ public java.lang.String getMainJarFileUri() { * * * string main_jar_file_uri = 1; + * + * @return The bytes for mainJarFileUri. */ public com.google.protobuf.ByteString getMainJarFileUriBytes() { java.lang.Object ref = ""; @@ -325,6 +341,8 @@ public com.google.protobuf.ByteString getMainJarFileUriBytes() { * * * string main_class = 2; + * + * @return The mainClass. */ public java.lang.String getMainClass() { java.lang.Object ref = ""; @@ -351,6 +369,8 @@ public java.lang.String getMainClass() { * * * string main_class = 2; + * + * @return The bytes for mainClass. */ public com.google.protobuf.ByteString getMainClassBytes() { java.lang.Object ref = ""; @@ -382,6 +402,8 @@ public com.google.protobuf.ByteString getMainClassBytes() { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the args. */ public com.google.protobuf.ProtocolStringList getArgsList() { return args_; @@ -397,6 +419,8 @@ public com.google.protobuf.ProtocolStringList getArgsList() { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of args. */ public int getArgsCount() { return args_.size(); @@ -412,6 +436,9 @@ public int getArgsCount() { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The args at the given index. */ public java.lang.String getArgs(int index) { return args_.get(index); @@ -427,6 +454,9 @@ public java.lang.String getArgs(int index) { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); @@ -443,6 +473,8 @@ public com.google.protobuf.ByteString getArgsBytes(int index) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_; @@ -456,6 +488,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -469,6 +503,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -482,6 +519,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -499,6 +539,8 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the fileUris. */ public com.google.protobuf.ProtocolStringList getFileUrisList() { return fileUris_; @@ -513,6 +555,8 @@ public com.google.protobuf.ProtocolStringList getFileUrisList() { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); @@ -527,6 +571,9 @@ public int getFileUrisCount() { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ public java.lang.String getFileUris(int index) { return fileUris_.get(index); @@ -541,6 +588,9 @@ public java.lang.String getFileUris(int index) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ public com.google.protobuf.ByteString getFileUrisBytes(int index) { return fileUris_.getByteString(index); @@ -558,6 +608,8 @@ public com.google.protobuf.ByteString getFileUrisBytes(int index) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the archiveUris. */ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { return archiveUris_; @@ -572,6 +624,8 @@ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); @@ -586,6 +640,9 @@ public int getArchiveUrisCount() { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); @@ -600,6 +657,9 @@ public java.lang.String getArchiveUris(int index) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); @@ -727,6 +787,8 @@ public java.lang.String getPropertiesOrThrow(java.lang.String key) { * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfig_ != null; @@ -741,6 +803,8 @@ public boolean hasLoggingConfig() { * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1.LoggingConfig getLoggingConfig() { return loggingConfig_ == null @@ -1111,13 +1175,13 @@ private void maybeForceBuilderInitialization() { public Builder clear() { super.clear(); args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); fileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); internalGetMutableProperties().clear(); if (loggingConfigBuilder_ == null) { loggingConfig_ = null; @@ -1155,31 +1219,30 @@ public com.google.cloud.dataproc.v1.HadoopJob buildPartial() { com.google.cloud.dataproc.v1.HadoopJob result = new com.google.cloud.dataproc.v1.HadoopJob(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (driverCase_ == 1) { result.driver_ = driver_; } if (driverCase_ == 2) { result.driver_ = driver_; } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } result.args_ = args_; - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); } result.jarFileUris_ = jarFileUris_; - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { fileUris_ = fileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); } result.fileUris_ = fileUris_; - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { archiveUris_ = archiveUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); } result.archiveUris_ = archiveUris_; result.properties_ = internalGetProperties(); @@ -1189,7 +1252,6 @@ public com.google.cloud.dataproc.v1.HadoopJob buildPartial() { } else { result.loggingConfig_ = loggingConfigBuilder_.build(); } - result.bitField0_ = to_bitField0_; result.driverCase_ = driverCase_; onBuilt(); return result; @@ -1243,7 +1305,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.HadoopJob other) { if (!other.args_.isEmpty()) { if (args_.isEmpty()) { args_ = other.args_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureArgsIsMutable(); args_.addAll(other.args_); @@ -1253,7 +1315,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.HadoopJob other) { if (!other.jarFileUris_.isEmpty()) { if (jarFileUris_.isEmpty()) { jarFileUris_ = other.jarFileUris_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureJarFileUrisIsMutable(); jarFileUris_.addAll(other.jarFileUris_); @@ -1263,7 +1325,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.HadoopJob other) { if (!other.fileUris_.isEmpty()) { if (fileUris_.isEmpty()) { fileUris_ = other.fileUris_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureFileUrisIsMutable(); fileUris_.addAll(other.fileUris_); @@ -1273,7 +1335,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.HadoopJob other) { if (!other.archiveUris_.isEmpty()) { if (archiveUris_.isEmpty()) { archiveUris_ = other.archiveUris_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); } else { ensureArchiveUrisIsMutable(); archiveUris_.addAll(other.archiveUris_); @@ -1361,6 +1423,8 @@ public Builder clearDriver() { * * * string main_jar_file_uri = 1; + * + * @return The mainJarFileUri. */ public java.lang.String getMainJarFileUri() { java.lang.Object ref = ""; @@ -1390,6 +1454,8 @@ public java.lang.String getMainJarFileUri() { * * * string main_jar_file_uri = 1; + * + * @return The bytes for mainJarFileUri. */ public com.google.protobuf.ByteString getMainJarFileUriBytes() { java.lang.Object ref = ""; @@ -1419,6 +1485,9 @@ public com.google.protobuf.ByteString getMainJarFileUriBytes() { * * * string main_jar_file_uri = 1; + * + * @param value The mainJarFileUri to set. + * @return This builder for chaining. */ public Builder setMainJarFileUri(java.lang.String value) { if (value == null) { @@ -1441,6 +1510,8 @@ public Builder setMainJarFileUri(java.lang.String value) { * * * string main_jar_file_uri = 1; + * + * @return This builder for chaining. */ public Builder clearMainJarFileUri() { if (driverCase_ == 1) { @@ -1462,6 +1533,9 @@ public Builder clearMainJarFileUri() { * * * string main_jar_file_uri = 1; + * + * @param value The bytes for mainJarFileUri to set. + * @return This builder for chaining. */ public Builder setMainJarFileUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1483,6 +1557,8 @@ public Builder setMainJarFileUriBytes(com.google.protobuf.ByteString value) { * * * string main_class = 2; + * + * @return The mainClass. */ public java.lang.String getMainClass() { java.lang.Object ref = ""; @@ -1509,6 +1585,8 @@ public java.lang.String getMainClass() { * * * string main_class = 2; + * + * @return The bytes for mainClass. */ public com.google.protobuf.ByteString getMainClassBytes() { java.lang.Object ref = ""; @@ -1535,6 +1613,9 @@ public com.google.protobuf.ByteString getMainClassBytes() { * * * string main_class = 2; + * + * @param value The mainClass to set. + * @return This builder for chaining. */ public Builder setMainClass(java.lang.String value) { if (value == null) { @@ -1554,6 +1635,8 @@ public Builder setMainClass(java.lang.String value) { * * * string main_class = 2; + * + * @return This builder for chaining. */ public Builder clearMainClass() { if (driverCase_ == 2) { @@ -1572,6 +1655,9 @@ public Builder clearMainClass() { * * * string main_class = 2; + * + * @param value The bytes for mainClass to set. + * @return This builder for chaining. */ public Builder setMainClassBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1588,9 +1674,9 @@ public Builder setMainClassBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArgsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(args_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000001; } } /** @@ -1604,6 +1690,8 @@ private void ensureArgsIsMutable() { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the args. */ public com.google.protobuf.ProtocolStringList getArgsList() { return args_.getUnmodifiableView(); @@ -1619,6 +1707,8 @@ public com.google.protobuf.ProtocolStringList getArgsList() { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of args. */ public int getArgsCount() { return args_.size(); @@ -1634,6 +1724,9 @@ public int getArgsCount() { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The args at the given index. */ public java.lang.String getArgs(int index) { return args_.get(index); @@ -1649,6 +1742,9 @@ public java.lang.String getArgs(int index) { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); @@ -1664,6 +1760,10 @@ public com.google.protobuf.ByteString getArgsBytes(int index) { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The args to set. + * @return This builder for chaining. */ public Builder setArgs(int index, java.lang.String value) { if (value == null) { @@ -1685,6 +1785,9 @@ public Builder setArgs(int index, java.lang.String value) { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The args to add. + * @return This builder for chaining. */ public Builder addArgs(java.lang.String value) { if (value == null) { @@ -1706,6 +1809,9 @@ public Builder addArgs(java.lang.String value) { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The args to add. + * @return This builder for chaining. */ public Builder addAllArgs(java.lang.Iterable values) { ensureArgsIsMutable(); @@ -1724,10 +1830,12 @@ public Builder addAllArgs(java.lang.Iterable values) { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearArgs() { args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1742,6 +1850,9 @@ public Builder clearArgs() { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the args to add. + * @return This builder for chaining. */ public Builder addArgsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1758,9 +1869,9 @@ public Builder addArgsBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureJarFileUrisIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { jarFileUris_ = new com.google.protobuf.LazyStringArrayList(jarFileUris_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000002; } } /** @@ -1772,6 +1883,8 @@ private void ensureJarFileUrisIsMutable() { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_.getUnmodifiableView(); @@ -1785,6 +1898,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -1798,6 +1913,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -1811,6 +1929,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -1824,6 +1945,10 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The jarFileUris to set. + * @return This builder for chaining. */ public Builder setJarFileUris(int index, java.lang.String value) { if (value == null) { @@ -1843,6 +1968,9 @@ public Builder setJarFileUris(int index, java.lang.String value) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUris(java.lang.String value) { if (value == null) { @@ -1862,6 +1990,9 @@ public Builder addJarFileUris(java.lang.String value) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The jarFileUris to add. + * @return This builder for chaining. */ public Builder addAllJarFileUris(java.lang.Iterable values) { ensureJarFileUrisIsMutable(); @@ -1878,10 +2009,12 @@ public Builder addAllJarFileUris(java.lang.Iterable values) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearJarFileUris() { jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -1894,6 +2027,9 @@ public Builder clearJarFileUris() { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1910,9 +2046,9 @@ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFileUrisIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { + if (!((bitField0_ & 0x00000004) != 0)) { fileUris_ = new com.google.protobuf.LazyStringArrayList(fileUris_); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000004; } } /** @@ -1925,6 +2061,8 @@ private void ensureFileUrisIsMutable() { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the fileUris. */ public com.google.protobuf.ProtocolStringList getFileUrisList() { return fileUris_.getUnmodifiableView(); @@ -1939,6 +2077,8 @@ public com.google.protobuf.ProtocolStringList getFileUrisList() { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); @@ -1953,6 +2093,9 @@ public int getFileUrisCount() { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ public java.lang.String getFileUris(int index) { return fileUris_.get(index); @@ -1967,6 +2110,9 @@ public java.lang.String getFileUris(int index) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ public com.google.protobuf.ByteString getFileUrisBytes(int index) { return fileUris_.getByteString(index); @@ -1981,6 +2127,10 @@ public com.google.protobuf.ByteString getFileUrisBytes(int index) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The fileUris to set. + * @return This builder for chaining. */ public Builder setFileUris(int index, java.lang.String value) { if (value == null) { @@ -2001,6 +2151,9 @@ public Builder setFileUris(int index, java.lang.String value) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The fileUris to add. + * @return This builder for chaining. */ public Builder addFileUris(java.lang.String value) { if (value == null) { @@ -2021,6 +2174,9 @@ public Builder addFileUris(java.lang.String value) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The fileUris to add. + * @return This builder for chaining. */ public Builder addAllFileUris(java.lang.Iterable values) { ensureFileUrisIsMutable(); @@ -2038,10 +2194,12 @@ public Builder addAllFileUris(java.lang.Iterable values) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearFileUris() { fileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -2055,6 +2213,9 @@ public Builder clearFileUris() { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the fileUris to add. + * @return This builder for chaining. */ public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2071,9 +2232,9 @@ public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArchiveUrisIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { + if (!((bitField0_ & 0x00000008) != 0)) { archiveUris_ = new com.google.protobuf.LazyStringArrayList(archiveUris_); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000008; } } /** @@ -2086,6 +2247,8 @@ private void ensureArchiveUrisIsMutable() { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the archiveUris. */ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { return archiveUris_.getUnmodifiableView(); @@ -2100,6 +2263,8 @@ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); @@ -2114,6 +2279,9 @@ public int getArchiveUrisCount() { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); @@ -2128,6 +2296,9 @@ public java.lang.String getArchiveUris(int index) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); @@ -2142,6 +2313,10 @@ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The archiveUris to set. + * @return This builder for chaining. */ public Builder setArchiveUris(int index, java.lang.String value) { if (value == null) { @@ -2162,6 +2337,9 @@ public Builder setArchiveUris(int index, java.lang.String value) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The archiveUris to add. + * @return This builder for chaining. */ public Builder addArchiveUris(java.lang.String value) { if (value == null) { @@ -2182,6 +2360,9 @@ public Builder addArchiveUris(java.lang.String value) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The archiveUris to add. + * @return This builder for chaining. */ public Builder addAllArchiveUris(java.lang.Iterable values) { ensureArchiveUrisIsMutable(); @@ -2199,10 +2380,12 @@ public Builder addAllArchiveUris(java.lang.Iterable values) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearArchiveUris() { archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -2216,6 +2399,9 @@ public Builder clearArchiveUris() { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the archiveUris to add. + * @return This builder for chaining. */ public Builder addArchiveUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2427,6 +2613,8 @@ public Builder putAllProperties(java.util.Map * .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; @@ -2441,6 +2629,8 @@ public boolean hasLoggingConfig() { * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJobOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJobOrBuilder.java index 27f8abb9..0bac8db4 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJobOrBuilder.java @@ -35,6 +35,8 @@ public interface HadoopJobOrBuilder * * * string main_jar_file_uri = 1; + * + * @return The mainJarFileUri. */ java.lang.String getMainJarFileUri(); /** @@ -49,6 +51,8 @@ public interface HadoopJobOrBuilder * * * string main_jar_file_uri = 1; + * + * @return The bytes for mainJarFileUri. */ com.google.protobuf.ByteString getMainJarFileUriBytes(); @@ -61,6 +65,8 @@ public interface HadoopJobOrBuilder * * * string main_class = 2; + * + * @return The mainClass. */ java.lang.String getMainClass(); /** @@ -72,6 +78,8 @@ public interface HadoopJobOrBuilder * * * string main_class = 2; + * + * @return The bytes for mainClass. */ com.google.protobuf.ByteString getMainClassBytes(); @@ -86,6 +94,8 @@ public interface HadoopJobOrBuilder * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the args. */ java.util.List getArgsList(); /** @@ -99,6 +109,8 @@ public interface HadoopJobOrBuilder * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of args. */ int getArgsCount(); /** @@ -112,6 +124,9 @@ public interface HadoopJobOrBuilder * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The args at the given index. */ java.lang.String getArgs(int index); /** @@ -125,6 +140,9 @@ public interface HadoopJobOrBuilder * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ com.google.protobuf.ByteString getArgsBytes(int index); @@ -137,6 +155,8 @@ public interface HadoopJobOrBuilder * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the jarFileUris. */ java.util.List getJarFileUrisList(); /** @@ -148,6 +168,8 @@ public interface HadoopJobOrBuilder * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of jarFileUris. */ int getJarFileUrisCount(); /** @@ -159,6 +181,9 @@ public interface HadoopJobOrBuilder * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ java.lang.String getJarFileUris(int index); /** @@ -170,6 +195,9 @@ public interface HadoopJobOrBuilder * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ com.google.protobuf.ByteString getJarFileUrisBytes(int index); @@ -183,6 +211,8 @@ public interface HadoopJobOrBuilder * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the fileUris. */ java.util.List getFileUrisList(); /** @@ -195,6 +225,8 @@ public interface HadoopJobOrBuilder * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of fileUris. */ int getFileUrisCount(); /** @@ -207,6 +239,9 @@ public interface HadoopJobOrBuilder * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ java.lang.String getFileUris(int index); /** @@ -219,6 +254,9 @@ public interface HadoopJobOrBuilder * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ com.google.protobuf.ByteString getFileUrisBytes(int index); @@ -232,6 +270,8 @@ public interface HadoopJobOrBuilder * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the archiveUris. */ java.util.List getArchiveUrisList(); /** @@ -244,6 +284,8 @@ public interface HadoopJobOrBuilder * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of archiveUris. */ int getArchiveUrisCount(); /** @@ -256,6 +298,9 @@ public interface HadoopJobOrBuilder * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ java.lang.String getArchiveUris(int index); /** @@ -268,6 +313,9 @@ public interface HadoopJobOrBuilder * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ com.google.protobuf.ByteString getArchiveUrisBytes(int index); @@ -355,6 +403,8 @@ public interface HadoopJobOrBuilder * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** @@ -367,6 +417,8 @@ public interface HadoopJobOrBuilder * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The loggingConfig. */ com.google.cloud.dataproc.v1.LoggingConfig getLoggingConfig(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJob.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJob.java index 27daa19b..16707404 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJob.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJob.java @@ -42,6 +42,12 @@ private HiveJob() { jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new HiveJob(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -96,11 +102,11 @@ private HiveJob( } case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { scriptVariables_ = com.google.protobuf.MapField.newMapField( ScriptVariablesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry scriptVariables__ = input.readMessage( @@ -113,11 +119,11 @@ private HiveJob( } case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry properties__ = input.readMessage( @@ -129,9 +135,9 @@ private HiveJob( case 50: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { jarFileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000004; } jarFileUris_.add(s); break; @@ -150,7 +156,7 @@ private HiveJob( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000020) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -186,11 +192,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1.HiveJob.Builder.class); } - private int bitField0_; private int queriesCase_ = 0; private java.lang.Object queries_; - public enum QueriesCase implements com.google.protobuf.Internal.EnumLite { + public enum QueriesCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { QUERY_FILE_URI(1), QUERY_LIST(2), QUERIES_NOT_SET(0); @@ -199,7 +207,11 @@ public enum QueriesCase implements com.google.protobuf.Internal.EnumLite { private QueriesCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static QueriesCase valueOf(int value) { return forNumber(value); @@ -236,6 +248,8 @@ public QueriesCase getQueriesCase() { * * * string query_file_uri = 1; + * + * @return The queryFileUri. */ public java.lang.String getQueryFileUri() { java.lang.Object ref = ""; @@ -261,6 +275,8 @@ public java.lang.String getQueryFileUri() { * * * string query_file_uri = 1; + * + * @return The bytes for queryFileUri. */ public com.google.protobuf.ByteString getQueryFileUriBytes() { java.lang.Object ref = ""; @@ -288,6 +304,8 @@ public com.google.protobuf.ByteString getQueryFileUriBytes() { * * * .google.cloud.dataproc.v1.QueryList query_list = 2; + * + * @return Whether the queryList field is set. */ public boolean hasQueryList() { return queriesCase_ == 2; @@ -300,6 +318,8 @@ public boolean hasQueryList() { * * * .google.cloud.dataproc.v1.QueryList query_list = 2; + * + * @return The queryList. */ public com.google.cloud.dataproc.v1.QueryList getQueryList() { if (queriesCase_ == 2) { @@ -335,6 +355,8 @@ public com.google.cloud.dataproc.v1.QueryListOrBuilder getQueryListOrBuilder() { * * * bool continue_on_failure = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The continueOnFailure. */ public boolean getContinueOnFailure() { return continueOnFailure_; @@ -566,6 +588,8 @@ public java.lang.String getPropertiesOrThrow(java.lang.String key) { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_; @@ -580,6 +604,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -594,6 +620,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -608,6 +637,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -932,7 +964,7 @@ public Builder clear() { internalGetMutableScriptVariables().clear(); internalGetMutableProperties().clear(); jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000004); queriesCase_ = 0; queries_ = null; return this; @@ -962,7 +994,6 @@ public com.google.cloud.dataproc.v1.HiveJob build() { public com.google.cloud.dataproc.v1.HiveJob buildPartial() { com.google.cloud.dataproc.v1.HiveJob result = new com.google.cloud.dataproc.v1.HiveJob(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (queriesCase_ == 1) { result.queries_ = queries_; } @@ -978,12 +1009,11 @@ public com.google.cloud.dataproc.v1.HiveJob buildPartial() { result.scriptVariables_.makeImmutable(); result.properties_ = internalGetProperties(); result.properties_.makeImmutable(); - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000004); } result.jarFileUris_ = jarFileUris_; - result.bitField0_ = to_bitField0_; result.queriesCase_ = queriesCase_; onBuilt(); return result; @@ -1042,7 +1072,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.HiveJob other) { if (!other.jarFileUris_.isEmpty()) { if (jarFileUris_.isEmpty()) { jarFileUris_ = other.jarFileUris_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureJarFileUrisIsMutable(); jarFileUris_.addAll(other.jarFileUris_); @@ -1120,6 +1150,8 @@ public Builder clearQueries() { * * * string query_file_uri = 1; + * + * @return The queryFileUri. */ public java.lang.String getQueryFileUri() { java.lang.Object ref = ""; @@ -1145,6 +1177,8 @@ public java.lang.String getQueryFileUri() { * * * string query_file_uri = 1; + * + * @return The bytes for queryFileUri. */ public com.google.protobuf.ByteString getQueryFileUriBytes() { java.lang.Object ref = ""; @@ -1170,6 +1204,9 @@ public com.google.protobuf.ByteString getQueryFileUriBytes() { * * * string query_file_uri = 1; + * + * @param value The queryFileUri to set. + * @return This builder for chaining. */ public Builder setQueryFileUri(java.lang.String value) { if (value == null) { @@ -1188,6 +1225,8 @@ public Builder setQueryFileUri(java.lang.String value) { * * * string query_file_uri = 1; + * + * @return This builder for chaining. */ public Builder clearQueryFileUri() { if (queriesCase_ == 1) { @@ -1205,6 +1244,9 @@ public Builder clearQueryFileUri() { * * * string query_file_uri = 1; + * + * @param value The bytes for queryFileUri to set. + * @return This builder for chaining. */ public Builder setQueryFileUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1230,6 +1272,8 @@ public Builder setQueryFileUriBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dataproc.v1.QueryList query_list = 2; + * + * @return Whether the queryList field is set. */ public boolean hasQueryList() { return queriesCase_ == 2; @@ -1242,6 +1286,8 @@ public boolean hasQueryList() { * * * .google.cloud.dataproc.v1.QueryList query_list = 2; + * + * @return The queryList. */ public com.google.cloud.dataproc.v1.QueryList getQueryList() { if (queryListBuilder_ == null) { @@ -1429,6 +1475,8 @@ public com.google.cloud.dataproc.v1.QueryListOrBuilder getQueryListOrBuilder() { * * * bool continue_on_failure = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The continueOnFailure. */ public boolean getContinueOnFailure() { return continueOnFailure_; @@ -1443,6 +1491,9 @@ public boolean getContinueOnFailure() { * * * bool continue_on_failure = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The continueOnFailure to set. + * @return This builder for chaining. */ public Builder setContinueOnFailure(boolean value) { @@ -1460,6 +1511,8 @@ public Builder setContinueOnFailure(boolean value) { * * * bool continue_on_failure = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearContinueOnFailure() { @@ -1832,9 +1885,9 @@ public Builder putAllProperties(java.util.Map * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_.getUnmodifiableView(); @@ -1861,6 +1916,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -1875,6 +1932,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -1889,6 +1949,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -1903,6 +1966,10 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The jarFileUris to set. + * @return This builder for chaining. */ public Builder setJarFileUris(int index, java.lang.String value) { if (value == null) { @@ -1923,6 +1990,9 @@ public Builder setJarFileUris(int index, java.lang.String value) { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUris(java.lang.String value) { if (value == null) { @@ -1943,6 +2013,9 @@ public Builder addJarFileUris(java.lang.String value) { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The jarFileUris to add. + * @return This builder for chaining. */ public Builder addAllJarFileUris(java.lang.Iterable values) { ensureJarFileUrisIsMutable(); @@ -1960,10 +2033,12 @@ public Builder addAllJarFileUris(java.lang.Iterable values) { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearJarFileUris() { jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -1977,6 +2052,9 @@ public Builder clearJarFileUris() { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJobOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJobOrBuilder.java index a6222d0c..4810700e 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJobOrBuilder.java @@ -31,6 +31,8 @@ public interface HiveJobOrBuilder * * * string query_file_uri = 1; + * + * @return The queryFileUri. */ java.lang.String getQueryFileUri(); /** @@ -41,6 +43,8 @@ public interface HiveJobOrBuilder * * * string query_file_uri = 1; + * + * @return The bytes for queryFileUri. */ com.google.protobuf.ByteString getQueryFileUriBytes(); @@ -52,6 +56,8 @@ public interface HiveJobOrBuilder * * * .google.cloud.dataproc.v1.QueryList query_list = 2; + * + * @return Whether the queryList field is set. */ boolean hasQueryList(); /** @@ -62,6 +68,8 @@ public interface HiveJobOrBuilder * * * .google.cloud.dataproc.v1.QueryList query_list = 2; + * + * @return The queryList. */ com.google.cloud.dataproc.v1.QueryList getQueryList(); /** @@ -85,6 +93,8 @@ public interface HiveJobOrBuilder * * * bool continue_on_failure = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The continueOnFailure. */ boolean getContinueOnFailure(); @@ -236,6 +246,8 @@ public interface HiveJobOrBuilder * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the jarFileUris. */ java.util.List getJarFileUrisList(); /** @@ -248,6 +260,8 @@ public interface HiveJobOrBuilder * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of jarFileUris. */ int getJarFileUrisCount(); /** @@ -260,6 +274,9 @@ public interface HiveJobOrBuilder * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ java.lang.String getJarFileUris(int index); /** @@ -272,6 +289,9 @@ public interface HiveJobOrBuilder * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ com.google.protobuf.ByteString getJarFileUrisBytes(int index); diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupAutoscalingPolicyConfig.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupAutoscalingPolicyConfig.java index bc03f58b..1d12e0bb 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupAutoscalingPolicyConfig.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupAutoscalingPolicyConfig.java @@ -42,6 +42,12 @@ private InstanceGroupAutoscalingPolicyConfig( private InstanceGroupAutoscalingPolicyConfig() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InstanceGroupAutoscalingPolicyConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private InstanceGroupAutoscalingPolicyConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -127,6 +132,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * int32 min_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minInstances. */ public int getMinInstances() { return minInstances_; @@ -146,6 +153,8 @@ public int getMinInstances() { * * * int32 max_instances = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The maxInstances. */ public int getMaxInstances() { return maxInstances_; @@ -176,6 +185,8 @@ public int getMaxInstances() { * * * int32 weight = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The weight. */ public int getWeight() { return weight_; @@ -547,6 +558,8 @@ public Builder mergeFrom( * * * int32 min_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minInstances. */ public int getMinInstances() { return minInstances_; @@ -561,6 +574,9 @@ public int getMinInstances() { * * * int32 min_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The minInstances to set. + * @return This builder for chaining. */ public Builder setMinInstances(int value) { @@ -578,6 +594,8 @@ public Builder setMinInstances(int value) { * * * int32 min_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearMinInstances() { @@ -599,6 +617,8 @@ public Builder clearMinInstances() { * * * int32 max_instances = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The maxInstances. */ public int getMaxInstances() { return maxInstances_; @@ -615,6 +635,9 @@ public int getMaxInstances() { * * * int32 max_instances = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The maxInstances to set. + * @return This builder for chaining. */ public Builder setMaxInstances(int value) { @@ -634,6 +657,8 @@ public Builder setMaxInstances(int value) { * * * int32 max_instances = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearMaxInstances() { @@ -666,6 +691,8 @@ public Builder clearMaxInstances() { * * * int32 weight = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The weight. */ public int getWeight() { return weight_; @@ -693,6 +720,9 @@ public int getWeight() { * * * int32 weight = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The weight to set. + * @return This builder for chaining. */ public Builder setWeight(int value) { @@ -723,6 +753,8 @@ public Builder setWeight(int value) { * * * int32 weight = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearWeight() { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupAutoscalingPolicyConfigOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupAutoscalingPolicyConfigOrBuilder.java index 0ca4d4ee..d92001e6 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupAutoscalingPolicyConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupAutoscalingPolicyConfigOrBuilder.java @@ -33,6 +33,8 @@ public interface InstanceGroupAutoscalingPolicyConfigOrBuilder * * * int32 min_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minInstances. */ int getMinInstances(); @@ -48,6 +50,8 @@ public interface InstanceGroupAutoscalingPolicyConfigOrBuilder * * * int32 max_instances = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The maxInstances. */ int getMaxInstances(); @@ -74,6 +78,8 @@ public interface InstanceGroupAutoscalingPolicyConfigOrBuilder * * * int32 weight = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The weight. */ int getWeight(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfig.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfig.java index d0c7892f..de27e738 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfig.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfig.java @@ -46,6 +46,12 @@ private InstanceGroupConfig() { minCpuPlatform_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InstanceGroupConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -78,9 +84,9 @@ private InstanceGroupConfig( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { instanceNames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } instanceNames_.add(s); break; @@ -138,10 +144,10 @@ private InstanceGroupConfig( } case 66: { - if (!((mutable_bitField0_ & 0x00000080) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { accelerators_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000080; + mutable_bitField0_ |= 0x00000002; } accelerators_.add( input.readMessage( @@ -169,10 +175,10 @@ private InstanceGroupConfig( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { instanceNames_ = instanceNames_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000080) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { accelerators_ = java.util.Collections.unmodifiableList(accelerators_); } this.unknownFields = unknownFields.build(); @@ -195,7 +201,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dataproc.v1.InstanceGroupConfig.Builder.class); } - private int bitField0_; public static final int NUM_INSTANCES_FIELD_NUMBER = 1; private int numInstances_; /** @@ -207,6 +212,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * int32 num_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The numInstances. */ public int getNumInstances() { return numInstances_; @@ -223,6 +230,8 @@ public int getNumInstances() { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the instanceNames. */ public com.google.protobuf.ProtocolStringList getInstanceNamesList() { return instanceNames_; @@ -236,6 +245,8 @@ public com.google.protobuf.ProtocolStringList getInstanceNamesList() { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of instanceNames. */ public int getInstanceNamesCount() { return instanceNames_.size(); @@ -249,6 +260,9 @@ public int getInstanceNamesCount() { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The instanceNames at the given index. */ public java.lang.String getInstanceNames(int index) { return instanceNames_.get(index); @@ -262,6 +276,9 @@ public java.lang.String getInstanceNames(int index) { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the instanceNames at the given index. */ public com.google.protobuf.ByteString getInstanceNamesBytes(int index) { return instanceNames_.getByteString(index); @@ -279,6 +296,8 @@ public com.google.protobuf.ByteString getInstanceNamesBytes(int index) { * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; @@ -301,6 +320,8 @@ public java.lang.String getImageUri() { * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for imageUri. */ public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; @@ -333,6 +354,8 @@ public com.google.protobuf.ByteString getImageUriBytes() { * * * string machine_type_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The machineTypeUri. */ public java.lang.String getMachineTypeUri() { java.lang.Object ref = machineTypeUri_; @@ -362,6 +385,8 @@ public java.lang.String getMachineTypeUri() { * * * string machine_type_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for machineTypeUri. */ public com.google.protobuf.ByteString getMachineTypeUriBytes() { java.lang.Object ref = machineTypeUri_; @@ -387,6 +412,8 @@ public com.google.protobuf.ByteString getMachineTypeUriBytes() { * * .google.cloud.dataproc.v1.DiskConfig disk_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the diskConfig field is set. */ public boolean hasDiskConfig() { return diskConfig_ != null; @@ -401,6 +428,8 @@ public boolean hasDiskConfig() { * * .google.cloud.dataproc.v1.DiskConfig disk_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The diskConfig. */ public com.google.cloud.dataproc.v1.DiskConfig getDiskConfig() { return diskConfig_ == null @@ -433,6 +462,8 @@ public com.google.cloud.dataproc.v1.DiskConfigOrBuilder getDiskConfigOrBuilder() * * * bool is_preemptible = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The isPreemptible. */ public boolean getIsPreemptible() { return isPreemptible_; @@ -452,6 +483,8 @@ public boolean getIsPreemptible() { * * .google.cloud.dataproc.v1.ManagedGroupConfig managed_group_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the managedGroupConfig field is set. */ public boolean hasManagedGroupConfig() { return managedGroupConfig_ != null; @@ -468,6 +501,8 @@ public boolean hasManagedGroupConfig() { * * .google.cloud.dataproc.v1.ManagedGroupConfig managed_group_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The managedGroupConfig. */ public com.google.cloud.dataproc.v1.ManagedGroupConfig getManagedGroupConfig() { return managedGroupConfig_ == null @@ -583,6 +618,8 @@ public com.google.cloud.dataproc.v1.AcceleratorConfigOrBuilder getAcceleratorsOr * * * string min_cpu_platform = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minCpuPlatform. */ public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; @@ -605,6 +642,8 @@ public java.lang.String getMinCpuPlatform() { * * * string min_cpu_platform = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for minCpuPlatform. */ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; @@ -919,7 +958,7 @@ public Builder clear() { numInstances_ = 0; instanceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); imageUri_ = ""; machineTypeUri_ = ""; @@ -940,7 +979,7 @@ public Builder clear() { } if (acceleratorsBuilder_ == null) { accelerators_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); } else { acceleratorsBuilder_.clear(); } @@ -974,11 +1013,10 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfig buildPartial() { com.google.cloud.dataproc.v1.InstanceGroupConfig result = new com.google.cloud.dataproc.v1.InstanceGroupConfig(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.numInstances_ = numInstances_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { instanceNames_ = instanceNames_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.instanceNames_ = instanceNames_; result.imageUri_ = imageUri_; @@ -995,16 +1033,15 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfig buildPartial() { result.managedGroupConfig_ = managedGroupConfigBuilder_.build(); } if (acceleratorsBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { accelerators_ = java.util.Collections.unmodifiableList(accelerators_); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); } result.accelerators_ = accelerators_; } else { result.accelerators_ = acceleratorsBuilder_.build(); } result.minCpuPlatform_ = minCpuPlatform_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1061,7 +1098,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.InstanceGroupConfig other) if (!other.instanceNames_.isEmpty()) { if (instanceNames_.isEmpty()) { instanceNames_ = other.instanceNames_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureInstanceNamesIsMutable(); instanceNames_.addAll(other.instanceNames_); @@ -1089,7 +1126,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.InstanceGroupConfig other) if (!other.accelerators_.isEmpty()) { if (accelerators_.isEmpty()) { accelerators_ = other.accelerators_; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureAcceleratorsIsMutable(); accelerators_.addAll(other.accelerators_); @@ -1102,7 +1139,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.InstanceGroupConfig other) acceleratorsBuilder_.dispose(); acceleratorsBuilder_ = null; accelerators_ = other.accelerators_; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); acceleratorsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAcceleratorsFieldBuilder() @@ -1157,6 +1194,8 @@ public Builder mergeFrom( * * * int32 num_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The numInstances. */ public int getNumInstances() { return numInstances_; @@ -1170,6 +1209,9 @@ public int getNumInstances() { * * * int32 num_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The numInstances to set. + * @return This builder for chaining. */ public Builder setNumInstances(int value) { @@ -1186,6 +1228,8 @@ public Builder setNumInstances(int value) { * * * int32 num_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearNumInstances() { @@ -1198,9 +1242,9 @@ public Builder clearNumInstances() { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInstanceNamesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { instanceNames_ = new com.google.protobuf.LazyStringArrayList(instanceNames_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** @@ -1212,6 +1256,8 @@ private void ensureInstanceNamesIsMutable() { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the instanceNames. */ public com.google.protobuf.ProtocolStringList getInstanceNamesList() { return instanceNames_.getUnmodifiableView(); @@ -1225,6 +1271,8 @@ public com.google.protobuf.ProtocolStringList getInstanceNamesList() { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of instanceNames. */ public int getInstanceNamesCount() { return instanceNames_.size(); @@ -1238,6 +1286,9 @@ public int getInstanceNamesCount() { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The instanceNames at the given index. */ public java.lang.String getInstanceNames(int index) { return instanceNames_.get(index); @@ -1251,6 +1302,9 @@ public java.lang.String getInstanceNames(int index) { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the instanceNames at the given index. */ public com.google.protobuf.ByteString getInstanceNamesBytes(int index) { return instanceNames_.getByteString(index); @@ -1264,6 +1318,10 @@ public com.google.protobuf.ByteString getInstanceNamesBytes(int index) { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index to set the value at. + * @param value The instanceNames to set. + * @return This builder for chaining. */ public Builder setInstanceNames(int index, java.lang.String value) { if (value == null) { @@ -1283,6 +1341,9 @@ public Builder setInstanceNames(int index, java.lang.String value) { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The instanceNames to add. + * @return This builder for chaining. */ public Builder addInstanceNames(java.lang.String value) { if (value == null) { @@ -1302,6 +1363,9 @@ public Builder addInstanceNames(java.lang.String value) { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param values The instanceNames to add. + * @return This builder for chaining. */ public Builder addAllInstanceNames(java.lang.Iterable values) { ensureInstanceNamesIsMutable(); @@ -1318,10 +1382,12 @@ public Builder addAllInstanceNames(java.lang.Iterable values) * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearInstanceNames() { instanceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1334,6 +1400,9 @@ public Builder clearInstanceNames() { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes of the instanceNames to add. + * @return This builder for chaining. */ public Builder addInstanceNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1357,6 +1426,8 @@ public Builder addInstanceNamesBytes(com.google.protobuf.ByteString value) { * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; @@ -1379,6 +1450,8 @@ public java.lang.String getImageUri() { * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for imageUri. */ public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; @@ -1401,6 +1474,9 @@ public com.google.protobuf.ByteString getImageUriBytes() { * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The imageUri to set. + * @return This builder for chaining. */ public Builder setImageUri(java.lang.String value) { if (value == null) { @@ -1421,6 +1497,8 @@ public Builder setImageUri(java.lang.String value) { * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearImageUri() { @@ -1438,6 +1516,9 @@ public Builder clearImageUri() { * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for imageUri to set. + * @return This builder for chaining. */ public Builder setImageUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1468,6 +1549,8 @@ public Builder setImageUriBytes(com.google.protobuf.ByteString value) { * * * string machine_type_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The machineTypeUri. */ public java.lang.String getMachineTypeUri() { java.lang.Object ref = machineTypeUri_; @@ -1497,6 +1580,8 @@ public java.lang.String getMachineTypeUri() { * * * string machine_type_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for machineTypeUri. */ public com.google.protobuf.ByteString getMachineTypeUriBytes() { java.lang.Object ref = machineTypeUri_; @@ -1526,6 +1611,9 @@ public com.google.protobuf.ByteString getMachineTypeUriBytes() { * * * string machine_type_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The machineTypeUri to set. + * @return This builder for chaining. */ public Builder setMachineTypeUri(java.lang.String value) { if (value == null) { @@ -1553,6 +1641,8 @@ public Builder setMachineTypeUri(java.lang.String value) { * * * string machine_type_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearMachineTypeUri() { @@ -1577,6 +1667,9 @@ public Builder clearMachineTypeUri() { * * * string machine_type_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for machineTypeUri to set. + * @return This builder for chaining. */ public Builder setMachineTypeUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1605,6 +1698,8 @@ public Builder setMachineTypeUriBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1.DiskConfig disk_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the diskConfig field is set. */ public boolean hasDiskConfig() { return diskConfigBuilder_ != null || diskConfig_ != null; @@ -1619,6 +1714,8 @@ public boolean hasDiskConfig() { * * .google.cloud.dataproc.v1.DiskConfig disk_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The diskConfig. */ public com.google.cloud.dataproc.v1.DiskConfig getDiskConfig() { if (diskConfigBuilder_ == null) { @@ -1798,6 +1895,8 @@ public com.google.cloud.dataproc.v1.DiskConfigOrBuilder getDiskConfigOrBuilder() * * * bool is_preemptible = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The isPreemptible. */ public boolean getIsPreemptible() { return isPreemptible_; @@ -1811,6 +1910,9 @@ public boolean getIsPreemptible() { * * * bool is_preemptible = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The isPreemptible to set. + * @return This builder for chaining. */ public Builder setIsPreemptible(boolean value) { @@ -1827,6 +1929,8 @@ public Builder setIsPreemptible(boolean value) { * * * bool is_preemptible = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearIsPreemptible() { @@ -1853,6 +1957,8 @@ public Builder clearIsPreemptible() { * * .google.cloud.dataproc.v1.ManagedGroupConfig managed_group_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the managedGroupConfig field is set. */ public boolean hasManagedGroupConfig() { return managedGroupConfigBuilder_ != null || managedGroupConfig_ != null; @@ -1869,6 +1975,8 @@ public boolean hasManagedGroupConfig() { * * .google.cloud.dataproc.v1.ManagedGroupConfig managed_group_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The managedGroupConfig. */ public com.google.cloud.dataproc.v1.ManagedGroupConfig getManagedGroupConfig() { if (managedGroupConfigBuilder_ == null) { @@ -2058,10 +2166,10 @@ public com.google.cloud.dataproc.v1.ManagedGroupConfig.Builder getManagedGroupCo java.util.Collections.emptyList(); private void ensureAcceleratorsIsMutable() { - if (!((bitField0_ & 0x00000080) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { accelerators_ = new java.util.ArrayList(accelerators_); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000002; } } @@ -2312,7 +2420,7 @@ public Builder addAllAccelerators( public Builder clearAccelerators() { if (acceleratorsBuilder_ == null) { accelerators_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { acceleratorsBuilder_.clear(); @@ -2458,7 +2566,7 @@ public com.google.cloud.dataproc.v1.AcceleratorConfig.Builder addAcceleratorsBui com.google.cloud.dataproc.v1.AcceleratorConfig, com.google.cloud.dataproc.v1.AcceleratorConfig.Builder, com.google.cloud.dataproc.v1.AcceleratorConfigOrBuilder>( - accelerators_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); + accelerators_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); accelerators_ = null; } return acceleratorsBuilder_; @@ -2475,6 +2583,8 @@ public com.google.cloud.dataproc.v1.AcceleratorConfig.Builder addAcceleratorsBui * * * string min_cpu_platform = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minCpuPlatform. */ public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; @@ -2497,6 +2607,8 @@ public java.lang.String getMinCpuPlatform() { * * * string min_cpu_platform = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for minCpuPlatform. */ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; @@ -2519,6 +2631,9 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { * * * string min_cpu_platform = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The minCpuPlatform to set. + * @return This builder for chaining. */ public Builder setMinCpuPlatform(java.lang.String value) { if (value == null) { @@ -2539,6 +2654,8 @@ public Builder setMinCpuPlatform(java.lang.String value) { * * * string min_cpu_platform = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearMinCpuPlatform() { @@ -2556,6 +2673,9 @@ public Builder clearMinCpuPlatform() { * * * string min_cpu_platform = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for minCpuPlatform to set. + * @return This builder for chaining. */ public Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfigOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfigOrBuilder.java index 8ec84d25..530d3fe2 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfigOrBuilder.java @@ -32,6 +32,8 @@ public interface InstanceGroupConfigOrBuilder * * * int32 num_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The numInstances. */ int getNumInstances(); @@ -44,6 +46,8 @@ public interface InstanceGroupConfigOrBuilder * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the instanceNames. */ java.util.List getInstanceNamesList(); /** @@ -55,6 +59,8 @@ public interface InstanceGroupConfigOrBuilder * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of instanceNames. */ int getInstanceNamesCount(); /** @@ -66,6 +72,9 @@ public interface InstanceGroupConfigOrBuilder * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The instanceNames at the given index. */ java.lang.String getInstanceNames(int index); /** @@ -77,6 +86,9 @@ public interface InstanceGroupConfigOrBuilder * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the instanceNames at the given index. */ com.google.protobuf.ByteString getInstanceNamesBytes(int index); @@ -90,6 +102,8 @@ public interface InstanceGroupConfigOrBuilder * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The imageUri. */ java.lang.String getImageUri(); /** @@ -102,6 +116,8 @@ public interface InstanceGroupConfigOrBuilder * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for imageUri. */ com.google.protobuf.ByteString getImageUriBytes(); @@ -122,6 +138,8 @@ public interface InstanceGroupConfigOrBuilder * * * string machine_type_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The machineTypeUri. */ java.lang.String getMachineTypeUri(); /** @@ -141,6 +159,8 @@ public interface InstanceGroupConfigOrBuilder * * * string machine_type_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for machineTypeUri. */ com.google.protobuf.ByteString getMachineTypeUriBytes(); @@ -154,6 +174,8 @@ public interface InstanceGroupConfigOrBuilder * * .google.cloud.dataproc.v1.DiskConfig disk_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the diskConfig field is set. */ boolean hasDiskConfig(); /** @@ -166,6 +188,8 @@ public interface InstanceGroupConfigOrBuilder * * .google.cloud.dataproc.v1.DiskConfig disk_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The diskConfig. */ com.google.cloud.dataproc.v1.DiskConfig getDiskConfig(); /** @@ -190,6 +214,8 @@ public interface InstanceGroupConfigOrBuilder * * * bool is_preemptible = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The isPreemptible. */ boolean getIsPreemptible(); @@ -205,6 +231,8 @@ public interface InstanceGroupConfigOrBuilder * * .google.cloud.dataproc.v1.ManagedGroupConfig managed_group_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the managedGroupConfig field is set. */ boolean hasManagedGroupConfig(); /** @@ -219,6 +247,8 @@ public interface InstanceGroupConfigOrBuilder * * .google.cloud.dataproc.v1.ManagedGroupConfig managed_group_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The managedGroupConfig. */ com.google.cloud.dataproc.v1.ManagedGroupConfig getManagedGroupConfig(); /** @@ -313,6 +343,8 @@ public interface InstanceGroupConfigOrBuilder * * * string min_cpu_platform = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minCpuPlatform. */ java.lang.String getMinCpuPlatform(); /** @@ -325,6 +357,8 @@ public interface InstanceGroupConfigOrBuilder * * * string min_cpu_platform = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for minCpuPlatform. */ com.google.protobuf.ByteString getMinCpuPlatformBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateInlineWorkflowTemplateRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateInlineWorkflowTemplateRequest.java index a483465e..60b13afc 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateInlineWorkflowTemplateRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateInlineWorkflowTemplateRequest.java @@ -44,6 +44,12 @@ private InstantiateInlineWorkflowTemplateRequest() { requestId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InstantiateInlineWorkflowTemplateRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -57,7 +63,6 @@ private InstantiateInlineWorkflowTemplateRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -151,6 +156,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -180,6 +187,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -205,6 +214,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * .google.cloud.dataproc.v1.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the template field is set. */ public boolean hasTemplate() { return template_ != null; @@ -219,6 +230,8 @@ public boolean hasTemplate() { * * .google.cloud.dataproc.v1.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The template. */ public com.google.cloud.dataproc.v1.WorkflowTemplate getTemplate() { return template_ == null @@ -256,6 +269,8 @@ public com.google.cloud.dataproc.v1.WorkflowTemplateOrBuilder getTemplateOrBuild * * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -282,6 +297,8 @@ public java.lang.String getRequestId() { * * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -684,6 +701,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -713,6 +732,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -742,6 +763,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -769,6 +793,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -793,6 +819,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -821,6 +850,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the template field is set. */ public boolean hasTemplate() { return templateBuilder_ != null || template_ != null; @@ -835,6 +866,8 @@ public boolean hasTemplate() { * * .google.cloud.dataproc.v1.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The template. */ public com.google.cloud.dataproc.v1.WorkflowTemplate getTemplate() { if (templateBuilder_ == null) { @@ -1020,6 +1053,8 @@ public com.google.cloud.dataproc.v1.WorkflowTemplateOrBuilder getTemplateOrBuild * * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -1046,6 +1081,8 @@ public java.lang.String getRequestId() { * * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -1072,6 +1109,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The requestId to set. + * @return This builder for chaining. */ public Builder setRequestId(java.lang.String value) { if (value == null) { @@ -1096,6 +1136,8 @@ public Builder setRequestId(java.lang.String value) { * * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1117,6 +1159,9 @@ public Builder clearRequestId() { * * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. */ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateInlineWorkflowTemplateRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateInlineWorkflowTemplateRequestOrBuilder.java index 0904d4c5..a66cbbe7 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateInlineWorkflowTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateInlineWorkflowTemplateRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface InstantiateInlineWorkflowTemplateRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -59,6 +61,8 @@ public interface InstantiateInlineWorkflowTemplateRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -72,6 +76,8 @@ public interface InstantiateInlineWorkflowTemplateRequestOrBuilder * * .google.cloud.dataproc.v1.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the template field is set. */ boolean hasTemplate(); /** @@ -84,6 +90,8 @@ public interface InstantiateInlineWorkflowTemplateRequestOrBuilder * * .google.cloud.dataproc.v1.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The template. */ com.google.cloud.dataproc.v1.WorkflowTemplate getTemplate(); /** @@ -113,6 +121,8 @@ public interface InstantiateInlineWorkflowTemplateRequestOrBuilder * * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ java.lang.String getRequestId(); /** @@ -129,6 +139,8 @@ public interface InstantiateInlineWorkflowTemplateRequestOrBuilder * * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateWorkflowTemplateRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateWorkflowTemplateRequest.java index 3365d051..c66eb969 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateWorkflowTemplateRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateWorkflowTemplateRequest.java @@ -43,6 +43,12 @@ private InstantiateWorkflowTemplateRequest() { requestId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InstantiateWorkflowTemplateRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -88,11 +94,11 @@ private InstantiateWorkflowTemplateRequest( } case 50: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { parameters_ = com.google.protobuf.MapField.newMapField( ParametersDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry parameters__ = input.readMessage( @@ -146,7 +152,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest.Builder.class); } - private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** @@ -166,6 +171,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -195,6 +202,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -222,6 +231,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * int32 version = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. */ public int getVersion() { return version_; @@ -243,6 +254,8 @@ public int getVersion() { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -269,6 +282,8 @@ public java.lang.String getRequestId() { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -680,13 +695,11 @@ public com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest buildPart com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest result = new com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.name_ = name_; result.version_ = version_; result.requestId_ = requestId_; result.parameters_ = internalGetParameters(); result.parameters_.makeImmutable(); - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -802,6 +815,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -831,6 +846,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -860,6 +877,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -887,6 +907,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -911,6 +933,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -936,6 +961,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * int32 version = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. */ public int getVersion() { return version_; @@ -952,6 +979,9 @@ public int getVersion() { * * * int32 version = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The version to set. + * @return This builder for chaining. */ public Builder setVersion(int value) { @@ -971,6 +1001,8 @@ public Builder setVersion(int value) { * * * int32 version = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearVersion() { @@ -994,6 +1026,8 @@ public Builder clearVersion() { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -1020,6 +1054,8 @@ public java.lang.String getRequestId() { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -1046,6 +1082,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The requestId to set. + * @return This builder for chaining. */ public Builder setRequestId(java.lang.String value) { if (value == null) { @@ -1070,6 +1109,8 @@ public Builder setRequestId(java.lang.String value) { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1091,6 +1132,9 @@ public Builder clearRequestId() { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. */ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateWorkflowTemplateRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateWorkflowTemplateRequestOrBuilder.java index f7c6c0e1..9fa1cc60 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateWorkflowTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateWorkflowTemplateRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface InstantiateWorkflowTemplateRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -59,6 +61,8 @@ public interface InstantiateWorkflowTemplateRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -74,6 +78,8 @@ public interface InstantiateWorkflowTemplateRequestOrBuilder * * * int32 version = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. */ int getVersion(); @@ -91,6 +97,8 @@ public interface InstantiateWorkflowTemplateRequestOrBuilder * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ java.lang.String getRequestId(); /** @@ -107,6 +115,8 @@ public interface InstantiateWorkflowTemplateRequestOrBuilder * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ com.google.protobuf.ByteString getRequestIdBytes(); diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Job.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Job.java index c3525808..e74438b7 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Job.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Job.java @@ -45,6 +45,12 @@ private Job() { jobUuid_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Job(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -199,10 +205,10 @@ private Job( } case 74: { - if (!((mutable_bitField0_ & 0x00000400) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { yarnApplications_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000400; + mutable_bitField0_ |= 0x00000002; } yarnApplications_.add( input.readMessage( @@ -227,9 +233,9 @@ private Job( } case 106: { - if (!((mutable_bitField0_ & 0x00000200) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { statusHistory_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000200; + mutable_bitField0_ |= 0x00000001; } statusHistory_.add( input.readMessage( @@ -252,10 +258,10 @@ private Job( } case 146: { - if (!((mutable_bitField0_ & 0x00002000) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00002000; + mutable_bitField0_ |= 0x00000004; } com.google.protobuf.MapEntry labels__ = input.readMessage( @@ -300,10 +306,10 @@ private Job( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000400) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { yarnApplications_ = java.util.Collections.unmodifiableList(yarnApplications_); } - if (((mutable_bitField0_ & 0x00000200) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { statusHistory_ = java.util.Collections.unmodifiableList(statusHistory_); } this.unknownFields = unknownFields.build(); @@ -336,11 +342,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1.Job.class, com.google.cloud.dataproc.v1.Job.Builder.class); } - private int bitField0_; private int typeJobCase_ = 0; private java.lang.Object typeJob_; - public enum TypeJobCase implements com.google.protobuf.Internal.EnumLite { + public enum TypeJobCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { HADOOP_JOB(3), SPARK_JOB(4), PYSPARK_JOB(5), @@ -353,7 +361,11 @@ public enum TypeJobCase implements com.google.protobuf.Internal.EnumLite { private TypeJobCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static TypeJobCase valueOf(int value) { return forNumber(value); @@ -404,6 +416,8 @@ public TypeJobCase getTypeJobCase() { * * .google.cloud.dataproc.v1.JobReference reference = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the reference field is set. */ public boolean hasReference() { return reference_ != null; @@ -421,6 +435,8 @@ public boolean hasReference() { * * .google.cloud.dataproc.v1.JobReference reference = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The reference. */ public com.google.cloud.dataproc.v1.JobReference getReference() { return reference_ == null @@ -458,6 +474,8 @@ public com.google.cloud.dataproc.v1.JobReferenceOrBuilder getReferenceOrBuilder( * * .google.cloud.dataproc.v1.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the placement field is set. */ public boolean hasPlacement() { return placement_ != null; @@ -473,6 +491,8 @@ public boolean hasPlacement() { * * .google.cloud.dataproc.v1.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The placement. */ public com.google.cloud.dataproc.v1.JobPlacement getPlacement() { return placement_ == null @@ -504,6 +524,8 @@ public com.google.cloud.dataproc.v1.JobPlacementOrBuilder getPlacementOrBuilder( * * * .google.cloud.dataproc.v1.HadoopJob hadoop_job = 3; + * + * @return Whether the hadoopJob field is set. */ public boolean hasHadoopJob() { return typeJobCase_ == 3; @@ -516,6 +538,8 @@ public boolean hasHadoopJob() { * * * .google.cloud.dataproc.v1.HadoopJob hadoop_job = 3; + * + * @return The hadoopJob. */ public com.google.cloud.dataproc.v1.HadoopJob getHadoopJob() { if (typeJobCase_ == 3) { @@ -548,6 +572,8 @@ public com.google.cloud.dataproc.v1.HadoopJobOrBuilder getHadoopJobOrBuilder() { * * * .google.cloud.dataproc.v1.SparkJob spark_job = 4; + * + * @return Whether the sparkJob field is set. */ public boolean hasSparkJob() { return typeJobCase_ == 4; @@ -560,6 +586,8 @@ public boolean hasSparkJob() { * * * .google.cloud.dataproc.v1.SparkJob spark_job = 4; + * + * @return The sparkJob. */ public com.google.cloud.dataproc.v1.SparkJob getSparkJob() { if (typeJobCase_ == 4) { @@ -592,6 +620,8 @@ public com.google.cloud.dataproc.v1.SparkJobOrBuilder getSparkJobOrBuilder() { * * * .google.cloud.dataproc.v1.PySparkJob pyspark_job = 5; + * + * @return Whether the pysparkJob field is set. */ public boolean hasPysparkJob() { return typeJobCase_ == 5; @@ -604,6 +634,8 @@ public boolean hasPysparkJob() { * * * .google.cloud.dataproc.v1.PySparkJob pyspark_job = 5; + * + * @return The pysparkJob. */ public com.google.cloud.dataproc.v1.PySparkJob getPysparkJob() { if (typeJobCase_ == 5) { @@ -636,6 +668,8 @@ public com.google.cloud.dataproc.v1.PySparkJobOrBuilder getPysparkJobOrBuilder() * * * .google.cloud.dataproc.v1.HiveJob hive_job = 6; + * + * @return Whether the hiveJob field is set. */ public boolean hasHiveJob() { return typeJobCase_ == 6; @@ -648,6 +682,8 @@ public boolean hasHiveJob() { * * * .google.cloud.dataproc.v1.HiveJob hive_job = 6; + * + * @return The hiveJob. */ public com.google.cloud.dataproc.v1.HiveJob getHiveJob() { if (typeJobCase_ == 6) { @@ -680,6 +716,8 @@ public com.google.cloud.dataproc.v1.HiveJobOrBuilder getHiveJobOrBuilder() { * * * .google.cloud.dataproc.v1.PigJob pig_job = 7; + * + * @return Whether the pigJob field is set. */ public boolean hasPigJob() { return typeJobCase_ == 7; @@ -692,6 +730,8 @@ public boolean hasPigJob() { * * * .google.cloud.dataproc.v1.PigJob pig_job = 7; + * + * @return The pigJob. */ public com.google.cloud.dataproc.v1.PigJob getPigJob() { if (typeJobCase_ == 7) { @@ -724,6 +764,8 @@ public com.google.cloud.dataproc.v1.PigJobOrBuilder getPigJobOrBuilder() { * * * .google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 12; + * + * @return Whether the sparkSqlJob field is set. */ public boolean hasSparkSqlJob() { return typeJobCase_ == 12; @@ -736,6 +778,8 @@ public boolean hasSparkSqlJob() { * * * .google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 12; + * + * @return The sparkSqlJob. */ public com.google.cloud.dataproc.v1.SparkSqlJob getSparkSqlJob() { if (typeJobCase_ == 12) { @@ -773,6 +817,8 @@ public com.google.cloud.dataproc.v1.SparkSqlJobOrBuilder getSparkSqlJobOrBuilder * * .google.cloud.dataproc.v1.JobStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the status field is set. */ public boolean hasStatus() { return status_ != null; @@ -789,6 +835,8 @@ public boolean hasStatus() { * * .google.cloud.dataproc.v1.JobStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The status. */ public com.google.cloud.dataproc.v1.JobStatus getStatus() { return status_ == null ? com.google.cloud.dataproc.v1.JobStatus.getDefaultInstance() : status_; @@ -981,6 +1029,8 @@ public com.google.cloud.dataproc.v1.YarnApplicationOrBuilder getYarnApplications * * string driver_output_resource_uri = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The driverOutputResourceUri. */ public java.lang.String getDriverOutputResourceUri() { java.lang.Object ref = driverOutputResourceUri_; @@ -1003,6 +1053,8 @@ public java.lang.String getDriverOutputResourceUri() { * * string driver_output_resource_uri = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The bytes for driverOutputResourceUri. */ public com.google.protobuf.ByteString getDriverOutputResourceUriBytes() { java.lang.Object ref = driverOutputResourceUri_; @@ -1028,6 +1080,8 @@ public com.google.protobuf.ByteString getDriverOutputResourceUriBytes() { * * * string driver_control_files_uri = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The driverControlFilesUri. */ public java.lang.String getDriverControlFilesUri() { java.lang.Object ref = driverControlFilesUri_; @@ -1050,6 +1104,8 @@ public java.lang.String getDriverControlFilesUri() { * * * string driver_control_files_uri = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for driverControlFilesUri. */ public com.google.protobuf.ByteString getDriverControlFilesUriBytes() { java.lang.Object ref = driverControlFilesUri_; @@ -1192,6 +1248,8 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { * * .google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the scheduling field is set. */ public boolean hasScheduling() { return scheduling_ != null; @@ -1206,6 +1264,8 @@ public boolean hasScheduling() { * * .google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The scheduling. */ public com.google.cloud.dataproc.v1.JobScheduling getScheduling() { return scheduling_ == null @@ -1239,6 +1299,8 @@ public com.google.cloud.dataproc.v1.JobSchedulingOrBuilder getSchedulingOrBuilde * * * string job_uuid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The jobUuid. */ public java.lang.String getJobUuid() { java.lang.Object ref = jobUuid_; @@ -1261,6 +1323,8 @@ public java.lang.String getJobUuid() { * * * string job_uuid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for jobUuid. */ public com.google.protobuf.ByteString getJobUuidBytes() { java.lang.Object ref = jobUuid_; @@ -1732,13 +1796,13 @@ public Builder clear() { } if (statusHistoryBuilder_ == null) { statusHistory_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000001); } else { statusHistoryBuilder_.clear(); } if (yarnApplicationsBuilder_ == null) { yarnApplications_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000002); } else { yarnApplicationsBuilder_.clear(); } @@ -1784,7 +1848,6 @@ public com.google.cloud.dataproc.v1.Job build() { public com.google.cloud.dataproc.v1.Job buildPartial() { com.google.cloud.dataproc.v1.Job result = new com.google.cloud.dataproc.v1.Job(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (referenceBuilder_ == null) { result.reference_ = reference_; } else { @@ -1843,18 +1906,18 @@ public com.google.cloud.dataproc.v1.Job buildPartial() { result.status_ = statusBuilder_.build(); } if (statusHistoryBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { statusHistory_ = java.util.Collections.unmodifiableList(statusHistory_); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000001); } result.statusHistory_ = statusHistory_; } else { result.statusHistory_ = statusHistoryBuilder_.build(); } if (yarnApplicationsBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { yarnApplications_ = java.util.Collections.unmodifiableList(yarnApplications_); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000002); } result.yarnApplications_ = yarnApplications_; } else { @@ -1870,7 +1933,6 @@ public com.google.cloud.dataproc.v1.Job buildPartial() { result.scheduling_ = schedulingBuilder_.build(); } result.jobUuid_ = jobUuid_; - result.bitField0_ = to_bitField0_; result.typeJobCase_ = typeJobCase_; onBuilt(); return result; @@ -1934,7 +1996,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.Job other) { if (!other.statusHistory_.isEmpty()) { if (statusHistory_.isEmpty()) { statusHistory_ = other.statusHistory_; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStatusHistoryIsMutable(); statusHistory_.addAll(other.statusHistory_); @@ -1947,7 +2009,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.Job other) { statusHistoryBuilder_.dispose(); statusHistoryBuilder_ = null; statusHistory_ = other.statusHistory_; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000001); statusHistoryBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStatusHistoryFieldBuilder() @@ -1961,7 +2023,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.Job other) { if (!other.yarnApplications_.isEmpty()) { if (yarnApplications_.isEmpty()) { yarnApplications_ = other.yarnApplications_; - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureYarnApplicationsIsMutable(); yarnApplications_.addAll(other.yarnApplications_); @@ -1974,7 +2036,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.Job other) { yarnApplicationsBuilder_.dispose(); yarnApplicationsBuilder_ = null; yarnApplications_ = other.yarnApplications_; - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000002); yarnApplicationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getYarnApplicationsFieldBuilder() @@ -2100,6 +2162,8 @@ public Builder clearTypeJob() { * * .google.cloud.dataproc.v1.JobReference reference = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the reference field is set. */ public boolean hasReference() { return referenceBuilder_ != null || reference_ != null; @@ -2117,6 +2181,8 @@ public boolean hasReference() { * * .google.cloud.dataproc.v1.JobReference reference = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The reference. */ public com.google.cloud.dataproc.v1.JobReference getReference() { if (referenceBuilder_ == null) { @@ -2324,6 +2390,8 @@ public com.google.cloud.dataproc.v1.JobReferenceOrBuilder getReferenceOrBuilder( * * .google.cloud.dataproc.v1.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the placement field is set. */ public boolean hasPlacement() { return placementBuilder_ != null || placement_ != null; @@ -2339,6 +2407,8 @@ public boolean hasPlacement() { * * .google.cloud.dataproc.v1.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The placement. */ public com.google.cloud.dataproc.v1.JobPlacement getPlacement() { if (placementBuilder_ == null) { @@ -2528,6 +2598,8 @@ public com.google.cloud.dataproc.v1.JobPlacementOrBuilder getPlacementOrBuilder( * * * .google.cloud.dataproc.v1.HadoopJob hadoop_job = 3; + * + * @return Whether the hadoopJob field is set. */ public boolean hasHadoopJob() { return typeJobCase_ == 3; @@ -2540,6 +2612,8 @@ public boolean hasHadoopJob() { * * * .google.cloud.dataproc.v1.HadoopJob hadoop_job = 3; + * + * @return The hadoopJob. */ public com.google.cloud.dataproc.v1.HadoopJob getHadoopJob() { if (hadoopJobBuilder_ == null) { @@ -2729,6 +2803,8 @@ public com.google.cloud.dataproc.v1.HadoopJobOrBuilder getHadoopJobOrBuilder() { * * * .google.cloud.dataproc.v1.SparkJob spark_job = 4; + * + * @return Whether the sparkJob field is set. */ public boolean hasSparkJob() { return typeJobCase_ == 4; @@ -2741,6 +2817,8 @@ public boolean hasSparkJob() { * * * .google.cloud.dataproc.v1.SparkJob spark_job = 4; + * + * @return The sparkJob. */ public com.google.cloud.dataproc.v1.SparkJob getSparkJob() { if (sparkJobBuilder_ == null) { @@ -2930,6 +3008,8 @@ public com.google.cloud.dataproc.v1.SparkJobOrBuilder getSparkJobOrBuilder() { * * * .google.cloud.dataproc.v1.PySparkJob pyspark_job = 5; + * + * @return Whether the pysparkJob field is set. */ public boolean hasPysparkJob() { return typeJobCase_ == 5; @@ -2942,6 +3022,8 @@ public boolean hasPysparkJob() { * * * .google.cloud.dataproc.v1.PySparkJob pyspark_job = 5; + * + * @return The pysparkJob. */ public com.google.cloud.dataproc.v1.PySparkJob getPysparkJob() { if (pysparkJobBuilder_ == null) { @@ -3131,6 +3213,8 @@ public com.google.cloud.dataproc.v1.PySparkJobOrBuilder getPysparkJobOrBuilder() * * * .google.cloud.dataproc.v1.HiveJob hive_job = 6; + * + * @return Whether the hiveJob field is set. */ public boolean hasHiveJob() { return typeJobCase_ == 6; @@ -3143,6 +3227,8 @@ public boolean hasHiveJob() { * * * .google.cloud.dataproc.v1.HiveJob hive_job = 6; + * + * @return The hiveJob. */ public com.google.cloud.dataproc.v1.HiveJob getHiveJob() { if (hiveJobBuilder_ == null) { @@ -3330,6 +3416,8 @@ public com.google.cloud.dataproc.v1.HiveJobOrBuilder getHiveJobOrBuilder() { * * * .google.cloud.dataproc.v1.PigJob pig_job = 7; + * + * @return Whether the pigJob field is set. */ public boolean hasPigJob() { return typeJobCase_ == 7; @@ -3342,6 +3430,8 @@ public boolean hasPigJob() { * * * .google.cloud.dataproc.v1.PigJob pig_job = 7; + * + * @return The pigJob. */ public com.google.cloud.dataproc.v1.PigJob getPigJob() { if (pigJobBuilder_ == null) { @@ -3529,6 +3619,8 @@ public com.google.cloud.dataproc.v1.PigJobOrBuilder getPigJobOrBuilder() { * * * .google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 12; + * + * @return Whether the sparkSqlJob field is set. */ public boolean hasSparkSqlJob() { return typeJobCase_ == 12; @@ -3541,6 +3633,8 @@ public boolean hasSparkSqlJob() { * * * .google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 12; + * + * @return The sparkSqlJob. */ public com.google.cloud.dataproc.v1.SparkSqlJob getSparkSqlJob() { if (sparkSqlJobBuilder_ == null) { @@ -3736,6 +3830,8 @@ public com.google.cloud.dataproc.v1.SparkSqlJobOrBuilder getSparkSqlJobOrBuilder * * .google.cloud.dataproc.v1.JobStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; @@ -3752,6 +3848,8 @@ public boolean hasStatus() { * * .google.cloud.dataproc.v1.JobStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The status. */ public com.google.cloud.dataproc.v1.JobStatus getStatus() { if (statusBuilder_ == null) { @@ -3939,10 +4037,10 @@ public com.google.cloud.dataproc.v1.JobStatusOrBuilder getStatusOrBuilder() { java.util.Collections.emptyList(); private void ensureStatusHistoryIsMutable() { - if (!((bitField0_ & 0x00000200) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { statusHistory_ = new java.util.ArrayList(statusHistory_); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000001; } } @@ -4180,7 +4278,7 @@ public Builder addAllStatusHistory( public Builder clearStatusHistory() { if (statusHistoryBuilder_ == null) { statusHistory_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { statusHistoryBuilder_.clear(); @@ -4317,7 +4415,7 @@ public com.google.cloud.dataproc.v1.JobStatus.Builder addStatusHistoryBuilder(in com.google.cloud.dataproc.v1.JobStatus.Builder, com.google.cloud.dataproc.v1.JobStatusOrBuilder>( statusHistory_, - ((bitField0_ & 0x00000200) != 0), + ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); statusHistory_ = null; @@ -4329,11 +4427,11 @@ public com.google.cloud.dataproc.v1.JobStatus.Builder addStatusHistoryBuilder(in java.util.Collections.emptyList(); private void ensureYarnApplicationsIsMutable() { - if (!((bitField0_ & 0x00000400) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { yarnApplications_ = new java.util.ArrayList( yarnApplications_); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000002; } } @@ -4595,7 +4693,7 @@ public Builder addAllYarnApplications( public Builder clearYarnApplications() { if (yarnApplicationsBuilder_ == null) { yarnApplications_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { yarnApplicationsBuilder_.clear(); @@ -4749,7 +4847,7 @@ public com.google.cloud.dataproc.v1.YarnApplication.Builder addYarnApplicationsB com.google.cloud.dataproc.v1.YarnApplication.Builder, com.google.cloud.dataproc.v1.YarnApplicationOrBuilder>( yarnApplications_, - ((bitField0_ & 0x00000400) != 0), + ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); yarnApplications_ = null; @@ -4768,6 +4866,8 @@ public com.google.cloud.dataproc.v1.YarnApplication.Builder addYarnApplicationsB * * string driver_output_resource_uri = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The driverOutputResourceUri. */ public java.lang.String getDriverOutputResourceUri() { java.lang.Object ref = driverOutputResourceUri_; @@ -4790,6 +4890,8 @@ public java.lang.String getDriverOutputResourceUri() { * * string driver_output_resource_uri = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The bytes for driverOutputResourceUri. */ public com.google.protobuf.ByteString getDriverOutputResourceUriBytes() { java.lang.Object ref = driverOutputResourceUri_; @@ -4812,6 +4914,9 @@ public com.google.protobuf.ByteString getDriverOutputResourceUriBytes() { * * string driver_output_resource_uri = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The driverOutputResourceUri to set. + * @return This builder for chaining. */ public Builder setDriverOutputResourceUri(java.lang.String value) { if (value == null) { @@ -4832,6 +4937,8 @@ public Builder setDriverOutputResourceUri(java.lang.String value) { * * string driver_output_resource_uri = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ public Builder clearDriverOutputResourceUri() { @@ -4849,6 +4956,9 @@ public Builder clearDriverOutputResourceUri() { * * string driver_output_resource_uri = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The bytes for driverOutputResourceUri to set. + * @return This builder for chaining. */ public Builder setDriverOutputResourceUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -4873,6 +4983,8 @@ public Builder setDriverOutputResourceUriBytes(com.google.protobuf.ByteString va * * string driver_control_files_uri = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The driverControlFilesUri. */ public java.lang.String getDriverControlFilesUri() { java.lang.Object ref = driverControlFilesUri_; @@ -4896,6 +5008,8 @@ public java.lang.String getDriverControlFilesUri() { * * string driver_control_files_uri = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The bytes for driverControlFilesUri. */ public com.google.protobuf.ByteString getDriverControlFilesUriBytes() { java.lang.Object ref = driverControlFilesUri_; @@ -4919,6 +5033,9 @@ public com.google.protobuf.ByteString getDriverControlFilesUriBytes() { * * string driver_control_files_uri = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The driverControlFilesUri to set. + * @return This builder for chaining. */ public Builder setDriverControlFilesUri(java.lang.String value) { if (value == null) { @@ -4940,6 +5057,8 @@ public Builder setDriverControlFilesUri(java.lang.String value) { * * string driver_control_files_uri = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ public Builder clearDriverControlFilesUri() { @@ -4958,6 +5077,9 @@ public Builder clearDriverControlFilesUri() { * * string driver_control_files_uri = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The bytes for driverControlFilesUri to set. + * @return This builder for chaining. */ public Builder setDriverControlFilesUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -5180,6 +5302,8 @@ public Builder putAllLabels(java.util.Map va * * .google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the scheduling field is set. */ public boolean hasScheduling() { return schedulingBuilder_ != null || scheduling_ != null; @@ -5194,6 +5318,8 @@ public boolean hasScheduling() { * * .google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The scheduling. */ public com.google.cloud.dataproc.v1.JobScheduling getScheduling() { if (schedulingBuilder_ == null) { @@ -5375,6 +5501,8 @@ public com.google.cloud.dataproc.v1.JobSchedulingOrBuilder getSchedulingOrBuilde * * * string job_uuid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The jobUuid. */ public java.lang.String getJobUuid() { java.lang.Object ref = jobUuid_; @@ -5397,6 +5525,8 @@ public java.lang.String getJobUuid() { * * * string job_uuid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for jobUuid. */ public com.google.protobuf.ByteString getJobUuidBytes() { java.lang.Object ref = jobUuid_; @@ -5419,6 +5549,9 @@ public com.google.protobuf.ByteString getJobUuidBytes() { * * * string job_uuid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The jobUuid to set. + * @return This builder for chaining. */ public Builder setJobUuid(java.lang.String value) { if (value == null) { @@ -5439,6 +5572,8 @@ public Builder setJobUuid(java.lang.String value) { * * * string job_uuid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearJobUuid() { @@ -5456,6 +5591,9 @@ public Builder clearJobUuid() { * * * string job_uuid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for jobUuid to set. + * @return This builder for chaining. */ public Builder setJobUuidBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobOrBuilder.java index 683865bc..1bc13b7d 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobOrBuilder.java @@ -36,6 +36,8 @@ public interface JobOrBuilder * * .google.cloud.dataproc.v1.JobReference reference = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the reference field is set. */ boolean hasReference(); /** @@ -51,6 +53,8 @@ public interface JobOrBuilder * * .google.cloud.dataproc.v1.JobReference reference = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The reference. */ com.google.cloud.dataproc.v1.JobReference getReference(); /** @@ -80,6 +84,8 @@ public interface JobOrBuilder * * .google.cloud.dataproc.v1.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the placement field is set. */ boolean hasPlacement(); /** @@ -93,6 +99,8 @@ public interface JobOrBuilder * * .google.cloud.dataproc.v1.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The placement. */ com.google.cloud.dataproc.v1.JobPlacement getPlacement(); /** @@ -117,6 +125,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1.HadoopJob hadoop_job = 3; + * + * @return Whether the hadoopJob field is set. */ boolean hasHadoopJob(); /** @@ -127,6 +137,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1.HadoopJob hadoop_job = 3; + * + * @return The hadoopJob. */ com.google.cloud.dataproc.v1.HadoopJob getHadoopJob(); /** @@ -148,6 +160,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1.SparkJob spark_job = 4; + * + * @return Whether the sparkJob field is set. */ boolean hasSparkJob(); /** @@ -158,6 +172,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1.SparkJob spark_job = 4; + * + * @return The sparkJob. */ com.google.cloud.dataproc.v1.SparkJob getSparkJob(); /** @@ -179,6 +195,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1.PySparkJob pyspark_job = 5; + * + * @return Whether the pysparkJob field is set. */ boolean hasPysparkJob(); /** @@ -189,6 +207,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1.PySparkJob pyspark_job = 5; + * + * @return The pysparkJob. */ com.google.cloud.dataproc.v1.PySparkJob getPysparkJob(); /** @@ -210,6 +230,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1.HiveJob hive_job = 6; + * + * @return Whether the hiveJob field is set. */ boolean hasHiveJob(); /** @@ -220,6 +242,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1.HiveJob hive_job = 6; + * + * @return The hiveJob. */ com.google.cloud.dataproc.v1.HiveJob getHiveJob(); /** @@ -241,6 +265,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1.PigJob pig_job = 7; + * + * @return Whether the pigJob field is set. */ boolean hasPigJob(); /** @@ -251,6 +277,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1.PigJob pig_job = 7; + * + * @return The pigJob. */ com.google.cloud.dataproc.v1.PigJob getPigJob(); /** @@ -272,6 +300,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 12; + * + * @return Whether the sparkSqlJob field is set. */ boolean hasSparkSqlJob(); /** @@ -282,6 +312,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 12; + * + * @return The sparkSqlJob. */ com.google.cloud.dataproc.v1.SparkSqlJob getSparkSqlJob(); /** @@ -307,6 +339,8 @@ public interface JobOrBuilder * * .google.cloud.dataproc.v1.JobStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the status field is set. */ boolean hasStatus(); /** @@ -321,6 +355,8 @@ public interface JobOrBuilder * * .google.cloud.dataproc.v1.JobStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The status. */ com.google.cloud.dataproc.v1.JobStatus getStatus(); /** @@ -482,6 +518,8 @@ public interface JobOrBuilder * * string driver_output_resource_uri = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The driverOutputResourceUri. */ java.lang.String getDriverOutputResourceUri(); /** @@ -494,6 +532,8 @@ public interface JobOrBuilder * * string driver_output_resource_uri = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The bytes for driverOutputResourceUri. */ com.google.protobuf.ByteString getDriverOutputResourceUriBytes(); @@ -507,6 +547,8 @@ public interface JobOrBuilder * * * string driver_control_files_uri = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The driverControlFilesUri. */ java.lang.String getDriverControlFilesUri(); /** @@ -519,6 +561,8 @@ public interface JobOrBuilder * * * string driver_control_files_uri = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for driverControlFilesUri. */ com.google.protobuf.ByteString getDriverControlFilesUriBytes(); @@ -616,6 +660,8 @@ public interface JobOrBuilder * * .google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the scheduling field is set. */ boolean hasScheduling(); /** @@ -628,6 +674,8 @@ public interface JobOrBuilder * * .google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The scheduling. */ com.google.cloud.dataproc.v1.JobScheduling getScheduling(); /** @@ -653,6 +701,8 @@ public interface JobOrBuilder * * * string job_uuid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The jobUuid. */ java.lang.String getJobUuid(); /** @@ -665,6 +715,8 @@ public interface JobOrBuilder * * * string job_uuid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for jobUuid. */ com.google.protobuf.ByteString getJobUuidBytes(); diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobPlacement.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobPlacement.java index b7d952fa..8c1f3ce6 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobPlacement.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobPlacement.java @@ -42,6 +42,12 @@ private JobPlacement() { clusterUuid_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new JobPlacement(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private JobPlacement( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -124,6 +129,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -144,6 +151,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -168,6 +177,8 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -189,6 +200,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -543,6 +556,8 @@ public Builder mergeFrom( * * * string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -563,6 +578,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -583,6 +600,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -601,6 +621,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -616,6 +638,9 @@ public Builder clearClusterName() { * * * string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -638,6 +663,8 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { * * * string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -659,6 +686,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -680,6 +709,9 @@ public com.google.protobuf.ByteString getClusterUuidBytes() { * * * string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuid(java.lang.String value) { if (value == null) { @@ -699,6 +731,8 @@ public Builder setClusterUuid(java.lang.String value) { * * * string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearClusterUuid() { @@ -715,6 +749,9 @@ public Builder clearClusterUuid() { * * * string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuidBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobPlacementOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobPlacementOrBuilder.java index 839ab06a..af633d1f 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobPlacementOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobPlacementOrBuilder.java @@ -31,6 +31,8 @@ public interface JobPlacementOrBuilder * * * string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -41,6 +43,8 @@ public interface JobPlacementOrBuilder * * * string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); @@ -53,6 +57,8 @@ public interface JobPlacementOrBuilder * * * string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterUuid. */ java.lang.String getClusterUuid(); /** @@ -64,6 +70,8 @@ public interface JobPlacementOrBuilder * * * string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterUuid. */ com.google.protobuf.ByteString getClusterUuidBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobReference.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobReference.java index 10fe7350..44762199 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobReference.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobReference.java @@ -42,6 +42,12 @@ private JobReference() { jobId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new JobReference(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private JobReference( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -125,6 +130,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -146,6 +153,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -172,6 +181,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string job_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -195,6 +206,8 @@ public java.lang.String getJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -550,6 +563,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -571,6 +586,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -592,6 +609,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -611,6 +631,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -627,6 +649,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -651,6 +676,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string job_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -674,6 +701,8 @@ public java.lang.String getJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -697,6 +726,9 @@ public com.google.protobuf.ByteString getJobIdBytes() { * * * string job_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The jobId to set. + * @return This builder for chaining. */ public Builder setJobId(java.lang.String value) { if (value == null) { @@ -718,6 +750,8 @@ public Builder setJobId(java.lang.String value) { * * * string job_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearJobId() { @@ -736,6 +770,9 @@ public Builder clearJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for jobId to set. + * @return This builder for chaining. */ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobReferenceOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobReferenceOrBuilder.java index b9ba8bfb..8a447708 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobReferenceOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobReferenceOrBuilder.java @@ -32,6 +32,8 @@ public interface JobReferenceOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface JobReferenceOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -57,6 +61,8 @@ public interface JobReferenceOrBuilder * * * string job_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The jobId. */ java.lang.String getJobId(); /** @@ -70,6 +76,8 @@ public interface JobReferenceOrBuilder * * * string job_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for jobId. */ com.google.protobuf.ByteString getJobIdBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobScheduling.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobScheduling.java index 819c7187..2a88d74a 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobScheduling.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobScheduling.java @@ -39,6 +39,12 @@ private JobScheduling(com.google.protobuf.GeneratedMessageV3.Builder builder) private JobScheduling() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new JobScheduling(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private JobScheduling( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * int32 max_failures_per_hour = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxFailuresPerHour. */ public int getMaxFailuresPerHour() { return maxFailuresPerHour_; @@ -451,6 +458,8 @@ public Builder mergeFrom( * * * int32 max_failures_per_hour = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxFailuresPerHour. */ public int getMaxFailuresPerHour() { return maxFailuresPerHour_; @@ -468,6 +477,9 @@ public int getMaxFailuresPerHour() { * * * int32 max_failures_per_hour = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The maxFailuresPerHour to set. + * @return This builder for chaining. */ public Builder setMaxFailuresPerHour(int value) { @@ -488,6 +500,8 @@ public Builder setMaxFailuresPerHour(int value) { * * * int32 max_failures_per_hour = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearMaxFailuresPerHour() { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobSchedulingOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobSchedulingOrBuilder.java index 4eed39b0..ea8223aa 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobSchedulingOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobSchedulingOrBuilder.java @@ -36,6 +36,8 @@ public interface JobSchedulingOrBuilder * * * int32 max_failures_per_hour = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxFailuresPerHour. */ int getMaxFailuresPerHour(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobStatus.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobStatus.java index 4e552a21..a4f01e88 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobStatus.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobStatus.java @@ -43,6 +43,12 @@ private JobStatus() { substate_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new JobStatus(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private JobStatus( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -367,12 +372,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static State valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static State forNumber(int value) { switch (value) { case 0: @@ -560,12 +573,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static Substate valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static Substate forNumber(int value) { switch (value) { case 0: @@ -637,6 +658,8 @@ private Substate(int value) { * * .google.cloud.dataproc.v1.JobStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -651,6 +674,8 @@ public int getStateValue() { * * .google.cloud.dataproc.v1.JobStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1.JobStatus.State getState() { @SuppressWarnings("deprecation") @@ -672,6 +697,8 @@ public com.google.cloud.dataproc.v1.JobStatus.State getState() { * * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; * + * + * @return The details. */ public java.lang.String getDetails() { java.lang.Object ref = details_; @@ -695,6 +722,8 @@ public java.lang.String getDetails() { * * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; * + * + * @return The bytes for details. */ public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; @@ -720,6 +749,8 @@ public com.google.protobuf.ByteString getDetailsBytes() { * * .google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the stateStartTime field is set. */ public boolean hasStateStartTime() { return stateStartTime_ != null; @@ -734,6 +765,8 @@ public boolean hasStateStartTime() { * * .google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The stateStartTime. */ public com.google.protobuf.Timestamp getStateStartTime() { return stateStartTime_ == null @@ -768,6 +801,8 @@ public com.google.protobuf.TimestampOrBuilder getStateStartTimeOrBuilder() { * * .google.cloud.dataproc.v1.JobStatus.Substate substate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for substate. */ public int getSubstateValue() { return substate_; @@ -783,6 +818,8 @@ public int getSubstateValue() { * * .google.cloud.dataproc.v1.JobStatus.Substate substate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The substate. */ public com.google.cloud.dataproc.v1.JobStatus.Substate getSubstate() { @SuppressWarnings("deprecation") @@ -1175,6 +1212,8 @@ public Builder mergeFrom( * * .google.cloud.dataproc.v1.JobStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -1189,6 +1228,9 @@ public int getStateValue() { * * .google.cloud.dataproc.v1.JobStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. */ public Builder setStateValue(int value) { state_ = value; @@ -1205,6 +1247,8 @@ public Builder setStateValue(int value) { * * .google.cloud.dataproc.v1.JobStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1.JobStatus.State getState() { @SuppressWarnings("deprecation") @@ -1222,6 +1266,9 @@ public com.google.cloud.dataproc.v1.JobStatus.State getState() { * * .google.cloud.dataproc.v1.JobStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The state to set. + * @return This builder for chaining. */ public Builder setState(com.google.cloud.dataproc.v1.JobStatus.State value) { if (value == null) { @@ -1242,6 +1289,8 @@ public Builder setState(com.google.cloud.dataproc.v1.JobStatus.State value) { * * .google.cloud.dataproc.v1.JobStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ public Builder clearState() { @@ -1262,6 +1311,8 @@ public Builder clearState() { * * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; * + * + * @return The details. */ public java.lang.String getDetails() { java.lang.Object ref = details_; @@ -1285,6 +1336,8 @@ public java.lang.String getDetails() { * * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; * + * + * @return The bytes for details. */ public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; @@ -1308,6 +1361,9 @@ public com.google.protobuf.ByteString getDetailsBytes() { * * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The details to set. + * @return This builder for chaining. */ public Builder setDetails(java.lang.String value) { if (value == null) { @@ -1329,6 +1385,8 @@ public Builder setDetails(java.lang.String value) { * * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearDetails() { @@ -1347,6 +1405,9 @@ public Builder clearDetails() { * * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The bytes for details to set. + * @return This builder for chaining. */ public Builder setDetailsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1375,6 +1436,8 @@ public Builder setDetailsBytes(com.google.protobuf.ByteString value) { * * .google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the stateStartTime field is set. */ public boolean hasStateStartTime() { return stateStartTimeBuilder_ != null || stateStartTime_ != null; @@ -1389,6 +1452,8 @@ public boolean hasStateStartTime() { * * .google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The stateStartTime. */ public com.google.protobuf.Timestamp getStateStartTime() { if (stateStartTimeBuilder_ == null) { @@ -1570,6 +1635,8 @@ public com.google.protobuf.TimestampOrBuilder getStateStartTimeOrBuilder() { * * .google.cloud.dataproc.v1.JobStatus.Substate substate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for substate. */ public int getSubstateValue() { return substate_; @@ -1585,6 +1652,9 @@ public int getSubstateValue() { * * .google.cloud.dataproc.v1.JobStatus.Substate substate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The enum numeric value on the wire for substate to set. + * @return This builder for chaining. */ public Builder setSubstateValue(int value) { substate_ = value; @@ -1602,6 +1672,8 @@ public Builder setSubstateValue(int value) { * * .google.cloud.dataproc.v1.JobStatus.Substate substate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The substate. */ public com.google.cloud.dataproc.v1.JobStatus.Substate getSubstate() { @SuppressWarnings("deprecation") @@ -1620,6 +1692,9 @@ public com.google.cloud.dataproc.v1.JobStatus.Substate getSubstate() { * * .google.cloud.dataproc.v1.JobStatus.Substate substate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The substate to set. + * @return This builder for chaining. */ public Builder setSubstate(com.google.cloud.dataproc.v1.JobStatus.Substate value) { if (value == null) { @@ -1641,6 +1716,8 @@ public Builder setSubstate(com.google.cloud.dataproc.v1.JobStatus.Substate value * * .google.cloud.dataproc.v1.JobStatus.Substate substate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ public Builder clearSubstate() { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobStatusOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobStatusOrBuilder.java index 0de74ee6..793aae6b 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobStatusOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobStatusOrBuilder.java @@ -33,6 +33,8 @@ public interface JobStatusOrBuilder * * .google.cloud.dataproc.v1.JobStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ int getStateValue(); /** @@ -45,6 +47,8 @@ public interface JobStatusOrBuilder * * .google.cloud.dataproc.v1.JobStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ com.google.cloud.dataproc.v1.JobStatus.State getState(); @@ -59,6 +63,8 @@ public interface JobStatusOrBuilder * * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; * + * + * @return The details. */ java.lang.String getDetails(); /** @@ -72,6 +78,8 @@ public interface JobStatusOrBuilder * * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; * + * + * @return The bytes for details. */ com.google.protobuf.ByteString getDetailsBytes(); @@ -85,6 +93,8 @@ public interface JobStatusOrBuilder * * .google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the stateStartTime field is set. */ boolean hasStateStartTime(); /** @@ -97,6 +107,8 @@ public interface JobStatusOrBuilder * * .google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The stateStartTime. */ com.google.protobuf.Timestamp getStateStartTime(); /** @@ -123,6 +135,8 @@ public interface JobStatusOrBuilder * * .google.cloud.dataproc.v1.JobStatus.Substate substate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for substate. */ int getSubstateValue(); /** @@ -136,6 +150,8 @@ public interface JobStatusOrBuilder * * .google.cloud.dataproc.v1.JobStatus.Substate substate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The substate. */ com.google.cloud.dataproc.v1.JobStatus.Substate getSubstate(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobsProto.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobsProto.java index eeee826f..d8c259e4 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobsProto.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobsProto.java @@ -350,25 +350,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "P\001Z@google.golang.org/genproto/googleapi" + "s/cloud/dataproc/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.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); internal_static_google_cloud_dataproc_v1_LoggingConfig_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_dataproc_v1_LoggingConfig_fieldAccessorTable = diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/KerberosConfig.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/KerberosConfig.java index cc946701..3bec6db7 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/KerberosConfig.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/KerberosConfig.java @@ -53,6 +53,12 @@ private KerberosConfig() { realm_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new KerberosConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -66,7 +72,6 @@ private KerberosConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -222,6 +227,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * bool enable_kerberos = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableKerberos. */ public boolean getEnableKerberos() { return enableKerberos_; @@ -238,6 +245,8 @@ public boolean getEnableKerberos() { * * * string root_principal_password_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The rootPrincipalPasswordUri. */ public java.lang.String getRootPrincipalPasswordUri() { java.lang.Object ref = rootPrincipalPasswordUri_; @@ -259,6 +268,8 @@ public java.lang.String getRootPrincipalPasswordUri() { * * * string root_principal_password_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for rootPrincipalPasswordUri. */ public com.google.protobuf.ByteString getRootPrincipalPasswordUriBytes() { java.lang.Object ref = rootPrincipalPasswordUri_; @@ -283,6 +294,8 @@ public com.google.protobuf.ByteString getRootPrincipalPasswordUriBytes() { * * * string kms_key_uri = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The kmsKeyUri. */ public java.lang.String getKmsKeyUri() { java.lang.Object ref = kmsKeyUri_; @@ -304,6 +317,8 @@ public java.lang.String getKmsKeyUri() { * * * string kms_key_uri = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for kmsKeyUri. */ public com.google.protobuf.ByteString getKmsKeyUriBytes() { java.lang.Object ref = kmsKeyUri_; @@ -329,6 +344,8 @@ public com.google.protobuf.ByteString getKmsKeyUriBytes() { * * * string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The keystoreUri. */ public java.lang.String getKeystoreUri() { java.lang.Object ref = keystoreUri_; @@ -351,6 +368,8 @@ public java.lang.String getKeystoreUri() { * * * string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for keystoreUri. */ public com.google.protobuf.ByteString getKeystoreUriBytes() { java.lang.Object ref = keystoreUri_; @@ -376,6 +395,8 @@ public com.google.protobuf.ByteString getKeystoreUriBytes() { * * * string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The truststoreUri. */ public java.lang.String getTruststoreUri() { java.lang.Object ref = truststoreUri_; @@ -398,6 +419,8 @@ public java.lang.String getTruststoreUri() { * * * string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for truststoreUri. */ public com.google.protobuf.ByteString getTruststoreUriBytes() { java.lang.Object ref = truststoreUri_; @@ -423,6 +446,8 @@ public com.google.protobuf.ByteString getTruststoreUriBytes() { * * * string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The keystorePasswordUri. */ public java.lang.String getKeystorePasswordUri() { java.lang.Object ref = keystorePasswordUri_; @@ -445,6 +470,8 @@ public java.lang.String getKeystorePasswordUri() { * * * string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for keystorePasswordUri. */ public com.google.protobuf.ByteString getKeystorePasswordUriBytes() { java.lang.Object ref = keystorePasswordUri_; @@ -470,6 +497,8 @@ public com.google.protobuf.ByteString getKeystorePasswordUriBytes() { * * * string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The keyPasswordUri. */ public java.lang.String getKeyPasswordUri() { java.lang.Object ref = keyPasswordUri_; @@ -492,6 +521,8 @@ public java.lang.String getKeyPasswordUri() { * * * string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for keyPasswordUri. */ public com.google.protobuf.ByteString getKeyPasswordUriBytes() { java.lang.Object ref = keyPasswordUri_; @@ -517,6 +548,8 @@ public com.google.protobuf.ByteString getKeyPasswordUriBytes() { * * * string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The truststorePasswordUri. */ public java.lang.String getTruststorePasswordUri() { java.lang.Object ref = truststorePasswordUri_; @@ -539,6 +572,8 @@ public java.lang.String getTruststorePasswordUri() { * * * string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for truststorePasswordUri. */ public com.google.protobuf.ByteString getTruststorePasswordUriBytes() { java.lang.Object ref = truststorePasswordUri_; @@ -563,6 +598,8 @@ public com.google.protobuf.ByteString getTruststorePasswordUriBytes() { * * * string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The crossRealmTrustRealm. */ public java.lang.String getCrossRealmTrustRealm() { java.lang.Object ref = crossRealmTrustRealm_; @@ -584,6 +621,8 @@ public java.lang.String getCrossRealmTrustRealm() { * * * string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for crossRealmTrustRealm. */ public com.google.protobuf.ByteString getCrossRealmTrustRealmBytes() { java.lang.Object ref = crossRealmTrustRealm_; @@ -608,6 +647,8 @@ public com.google.protobuf.ByteString getCrossRealmTrustRealmBytes() { * * * string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The crossRealmTrustKdc. */ public java.lang.String getCrossRealmTrustKdc() { java.lang.Object ref = crossRealmTrustKdc_; @@ -629,6 +670,8 @@ public java.lang.String getCrossRealmTrustKdc() { * * * string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for crossRealmTrustKdc. */ public com.google.protobuf.ByteString getCrossRealmTrustKdcBytes() { java.lang.Object ref = crossRealmTrustKdc_; @@ -654,6 +697,8 @@ public com.google.protobuf.ByteString getCrossRealmTrustKdcBytes() { * * string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The crossRealmTrustAdminServer. */ public java.lang.String getCrossRealmTrustAdminServer() { java.lang.Object ref = crossRealmTrustAdminServer_; @@ -676,6 +721,8 @@ public java.lang.String getCrossRealmTrustAdminServer() { * * string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The bytes for crossRealmTrustAdminServer. */ public com.google.protobuf.ByteString getCrossRealmTrustAdminServerBytes() { java.lang.Object ref = crossRealmTrustAdminServer_; @@ -703,6 +750,8 @@ public com.google.protobuf.ByteString getCrossRealmTrustAdminServerBytes() { * * string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The crossRealmTrustSharedPasswordUri. */ public java.lang.String getCrossRealmTrustSharedPasswordUri() { java.lang.Object ref = crossRealmTrustSharedPasswordUri_; @@ -727,6 +776,8 @@ public java.lang.String getCrossRealmTrustSharedPasswordUri() { * * string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The bytes for crossRealmTrustSharedPasswordUri. */ public com.google.protobuf.ByteString getCrossRealmTrustSharedPasswordUriBytes() { java.lang.Object ref = crossRealmTrustSharedPasswordUri_; @@ -751,6 +802,8 @@ public com.google.protobuf.ByteString getCrossRealmTrustSharedPasswordUriBytes() * * * string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The kdcDbKeyUri. */ public java.lang.String getKdcDbKeyUri() { java.lang.Object ref = kdcDbKeyUri_; @@ -772,6 +825,8 @@ public java.lang.String getKdcDbKeyUri() { * * * string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for kdcDbKeyUri. */ public com.google.protobuf.ByteString getKdcDbKeyUriBytes() { java.lang.Object ref = kdcDbKeyUri_; @@ -797,6 +852,8 @@ public com.google.protobuf.ByteString getKdcDbKeyUriBytes() { * * * int32 tgt_lifetime_hours = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The tgtLifetimeHours. */ public int getTgtLifetimeHours() { return tgtLifetimeHours_; @@ -813,6 +870,8 @@ public int getTgtLifetimeHours() { * * * string realm = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The realm. */ public java.lang.String getRealm() { java.lang.Object ref = realm_; @@ -834,6 +893,8 @@ public java.lang.String getRealm() { * * * string realm = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for realm. */ public com.google.protobuf.ByteString getRealmBytes() { java.lang.Object ref = realm_; @@ -1401,6 +1462,8 @@ public Builder mergeFrom( * * * bool enable_kerberos = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableKerberos. */ public boolean getEnableKerberos() { return enableKerberos_; @@ -1413,6 +1476,9 @@ public boolean getEnableKerberos() { * * * bool enable_kerberos = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The enableKerberos to set. + * @return This builder for chaining. */ public Builder setEnableKerberos(boolean value) { @@ -1428,6 +1494,8 @@ public Builder setEnableKerberos(boolean value) { * * * bool enable_kerberos = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearEnableKerberos() { @@ -1447,6 +1515,8 @@ public Builder clearEnableKerberos() { * * string root_principal_password_uri = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The rootPrincipalPasswordUri. */ public java.lang.String getRootPrincipalPasswordUri() { java.lang.Object ref = rootPrincipalPasswordUri_; @@ -1469,6 +1539,8 @@ public java.lang.String getRootPrincipalPasswordUri() { * * string root_principal_password_uri = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The bytes for rootPrincipalPasswordUri. */ public com.google.protobuf.ByteString getRootPrincipalPasswordUriBytes() { java.lang.Object ref = rootPrincipalPasswordUri_; @@ -1491,6 +1563,9 @@ public com.google.protobuf.ByteString getRootPrincipalPasswordUriBytes() { * * string root_principal_password_uri = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @param value The rootPrincipalPasswordUri to set. + * @return This builder for chaining. */ public Builder setRootPrincipalPasswordUri(java.lang.String value) { if (value == null) { @@ -1511,6 +1586,8 @@ public Builder setRootPrincipalPasswordUri(java.lang.String value) { * * string root_principal_password_uri = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return This builder for chaining. */ public Builder clearRootPrincipalPasswordUri() { @@ -1528,6 +1605,9 @@ public Builder clearRootPrincipalPasswordUri() { * * string root_principal_password_uri = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @param value The bytes for rootPrincipalPasswordUri to set. + * @return This builder for chaining. */ public Builder setRootPrincipalPasswordUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1550,6 +1630,8 @@ public Builder setRootPrincipalPasswordUriBytes(com.google.protobuf.ByteString v * * * string kms_key_uri = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The kmsKeyUri. */ public java.lang.String getKmsKeyUri() { java.lang.Object ref = kmsKeyUri_; @@ -1571,6 +1653,8 @@ public java.lang.String getKmsKeyUri() { * * * string kms_key_uri = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for kmsKeyUri. */ public com.google.protobuf.ByteString getKmsKeyUriBytes() { java.lang.Object ref = kmsKeyUri_; @@ -1592,6 +1676,9 @@ public com.google.protobuf.ByteString getKmsKeyUriBytes() { * * * string kms_key_uri = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The kmsKeyUri to set. + * @return This builder for chaining. */ public Builder setKmsKeyUri(java.lang.String value) { if (value == null) { @@ -1611,6 +1698,8 @@ public Builder setKmsKeyUri(java.lang.String value) { * * * string kms_key_uri = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearKmsKeyUri() { @@ -1627,6 +1716,9 @@ public Builder clearKmsKeyUri() { * * * string kms_key_uri = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for kmsKeyUri to set. + * @return This builder for chaining. */ public Builder setKmsKeyUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1650,6 +1742,8 @@ public Builder setKmsKeyUriBytes(com.google.protobuf.ByteString value) { * * * string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The keystoreUri. */ public java.lang.String getKeystoreUri() { java.lang.Object ref = keystoreUri_; @@ -1672,6 +1766,8 @@ public java.lang.String getKeystoreUri() { * * * string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for keystoreUri. */ public com.google.protobuf.ByteString getKeystoreUriBytes() { java.lang.Object ref = keystoreUri_; @@ -1694,6 +1790,9 @@ public com.google.protobuf.ByteString getKeystoreUriBytes() { * * * string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The keystoreUri to set. + * @return This builder for chaining. */ public Builder setKeystoreUri(java.lang.String value) { if (value == null) { @@ -1714,6 +1813,8 @@ public Builder setKeystoreUri(java.lang.String value) { * * * string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearKeystoreUri() { @@ -1731,6 +1832,9 @@ public Builder clearKeystoreUri() { * * * string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for keystoreUri to set. + * @return This builder for chaining. */ public Builder setKeystoreUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1754,6 +1858,8 @@ public Builder setKeystoreUriBytes(com.google.protobuf.ByteString value) { * * * string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The truststoreUri. */ public java.lang.String getTruststoreUri() { java.lang.Object ref = truststoreUri_; @@ -1776,6 +1882,8 @@ public java.lang.String getTruststoreUri() { * * * string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for truststoreUri. */ public com.google.protobuf.ByteString getTruststoreUriBytes() { java.lang.Object ref = truststoreUri_; @@ -1798,6 +1906,9 @@ public com.google.protobuf.ByteString getTruststoreUriBytes() { * * * string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The truststoreUri to set. + * @return This builder for chaining. */ public Builder setTruststoreUri(java.lang.String value) { if (value == null) { @@ -1818,6 +1929,8 @@ public Builder setTruststoreUri(java.lang.String value) { * * * string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearTruststoreUri() { @@ -1835,6 +1948,9 @@ public Builder clearTruststoreUri() { * * * string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for truststoreUri to set. + * @return This builder for chaining. */ public Builder setTruststoreUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1858,6 +1974,8 @@ public Builder setTruststoreUriBytes(com.google.protobuf.ByteString value) { * * * string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The keystorePasswordUri. */ public java.lang.String getKeystorePasswordUri() { java.lang.Object ref = keystorePasswordUri_; @@ -1880,6 +1998,8 @@ public java.lang.String getKeystorePasswordUri() { * * * string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for keystorePasswordUri. */ public com.google.protobuf.ByteString getKeystorePasswordUriBytes() { java.lang.Object ref = keystorePasswordUri_; @@ -1902,6 +2022,9 @@ public com.google.protobuf.ByteString getKeystorePasswordUriBytes() { * * * string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The keystorePasswordUri to set. + * @return This builder for chaining. */ public Builder setKeystorePasswordUri(java.lang.String value) { if (value == null) { @@ -1922,6 +2045,8 @@ public Builder setKeystorePasswordUri(java.lang.String value) { * * * string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearKeystorePasswordUri() { @@ -1939,6 +2064,9 @@ public Builder clearKeystorePasswordUri() { * * * string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for keystorePasswordUri to set. + * @return This builder for chaining. */ public Builder setKeystorePasswordUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1962,6 +2090,8 @@ public Builder setKeystorePasswordUriBytes(com.google.protobuf.ByteString value) * * * string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The keyPasswordUri. */ public java.lang.String getKeyPasswordUri() { java.lang.Object ref = keyPasswordUri_; @@ -1984,6 +2114,8 @@ public java.lang.String getKeyPasswordUri() { * * * string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for keyPasswordUri. */ public com.google.protobuf.ByteString getKeyPasswordUriBytes() { java.lang.Object ref = keyPasswordUri_; @@ -2006,6 +2138,9 @@ public com.google.protobuf.ByteString getKeyPasswordUriBytes() { * * * string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The keyPasswordUri to set. + * @return This builder for chaining. */ public Builder setKeyPasswordUri(java.lang.String value) { if (value == null) { @@ -2026,6 +2161,8 @@ public Builder setKeyPasswordUri(java.lang.String value) { * * * string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearKeyPasswordUri() { @@ -2043,6 +2180,9 @@ public Builder clearKeyPasswordUri() { * * * string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for keyPasswordUri to set. + * @return This builder for chaining. */ public Builder setKeyPasswordUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2066,6 +2206,8 @@ public Builder setKeyPasswordUriBytes(com.google.protobuf.ByteString value) { * * * string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The truststorePasswordUri. */ public java.lang.String getTruststorePasswordUri() { java.lang.Object ref = truststorePasswordUri_; @@ -2088,6 +2230,8 @@ public java.lang.String getTruststorePasswordUri() { * * * string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for truststorePasswordUri. */ public com.google.protobuf.ByteString getTruststorePasswordUriBytes() { java.lang.Object ref = truststorePasswordUri_; @@ -2110,6 +2254,9 @@ public com.google.protobuf.ByteString getTruststorePasswordUriBytes() { * * * string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The truststorePasswordUri to set. + * @return This builder for chaining. */ public Builder setTruststorePasswordUri(java.lang.String value) { if (value == null) { @@ -2130,6 +2277,8 @@ public Builder setTruststorePasswordUri(java.lang.String value) { * * * string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearTruststorePasswordUri() { @@ -2147,6 +2296,9 @@ public Builder clearTruststorePasswordUri() { * * * string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for truststorePasswordUri to set. + * @return This builder for chaining. */ public Builder setTruststorePasswordUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2169,6 +2321,8 @@ public Builder setTruststorePasswordUriBytes(com.google.protobuf.ByteString valu * * * string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The crossRealmTrustRealm. */ public java.lang.String getCrossRealmTrustRealm() { java.lang.Object ref = crossRealmTrustRealm_; @@ -2190,6 +2344,8 @@ public java.lang.String getCrossRealmTrustRealm() { * * * string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for crossRealmTrustRealm. */ public com.google.protobuf.ByteString getCrossRealmTrustRealmBytes() { java.lang.Object ref = crossRealmTrustRealm_; @@ -2211,6 +2367,9 @@ public com.google.protobuf.ByteString getCrossRealmTrustRealmBytes() { * * * string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The crossRealmTrustRealm to set. + * @return This builder for chaining. */ public Builder setCrossRealmTrustRealm(java.lang.String value) { if (value == null) { @@ -2230,6 +2389,8 @@ public Builder setCrossRealmTrustRealm(java.lang.String value) { * * * string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearCrossRealmTrustRealm() { @@ -2246,6 +2407,9 @@ public Builder clearCrossRealmTrustRealm() { * * * string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for crossRealmTrustRealm to set. + * @return This builder for chaining. */ public Builder setCrossRealmTrustRealmBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2268,6 +2432,8 @@ public Builder setCrossRealmTrustRealmBytes(com.google.protobuf.ByteString value * * * string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The crossRealmTrustKdc. */ public java.lang.String getCrossRealmTrustKdc() { java.lang.Object ref = crossRealmTrustKdc_; @@ -2289,6 +2455,8 @@ public java.lang.String getCrossRealmTrustKdc() { * * * string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for crossRealmTrustKdc. */ public com.google.protobuf.ByteString getCrossRealmTrustKdcBytes() { java.lang.Object ref = crossRealmTrustKdc_; @@ -2310,6 +2478,9 @@ public com.google.protobuf.ByteString getCrossRealmTrustKdcBytes() { * * * string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The crossRealmTrustKdc to set. + * @return This builder for chaining. */ public Builder setCrossRealmTrustKdc(java.lang.String value) { if (value == null) { @@ -2329,6 +2500,8 @@ public Builder setCrossRealmTrustKdc(java.lang.String value) { * * * string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearCrossRealmTrustKdc() { @@ -2345,6 +2518,9 @@ public Builder clearCrossRealmTrustKdc() { * * * string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for crossRealmTrustKdc to set. + * @return This builder for chaining. */ public Builder setCrossRealmTrustKdcBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2368,6 +2544,8 @@ public Builder setCrossRealmTrustKdcBytes(com.google.protobuf.ByteString value) * * string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The crossRealmTrustAdminServer. */ public java.lang.String getCrossRealmTrustAdminServer() { java.lang.Object ref = crossRealmTrustAdminServer_; @@ -2390,6 +2568,8 @@ public java.lang.String getCrossRealmTrustAdminServer() { * * string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The bytes for crossRealmTrustAdminServer. */ public com.google.protobuf.ByteString getCrossRealmTrustAdminServerBytes() { java.lang.Object ref = crossRealmTrustAdminServer_; @@ -2412,6 +2592,9 @@ public com.google.protobuf.ByteString getCrossRealmTrustAdminServerBytes() { * * string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The crossRealmTrustAdminServer to set. + * @return This builder for chaining. */ public Builder setCrossRealmTrustAdminServer(java.lang.String value) { if (value == null) { @@ -2432,6 +2615,8 @@ public Builder setCrossRealmTrustAdminServer(java.lang.String value) { * * string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearCrossRealmTrustAdminServer() { @@ -2449,6 +2634,9 @@ public Builder clearCrossRealmTrustAdminServer() { * * string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The bytes for crossRealmTrustAdminServer to set. + * @return This builder for chaining. */ public Builder setCrossRealmTrustAdminServerBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2474,6 +2662,8 @@ public Builder setCrossRealmTrustAdminServerBytes(com.google.protobuf.ByteString * * string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The crossRealmTrustSharedPasswordUri. */ public java.lang.String getCrossRealmTrustSharedPasswordUri() { java.lang.Object ref = crossRealmTrustSharedPasswordUri_; @@ -2498,6 +2688,8 @@ public java.lang.String getCrossRealmTrustSharedPasswordUri() { * * string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The bytes for crossRealmTrustSharedPasswordUri. */ public com.google.protobuf.ByteString getCrossRealmTrustSharedPasswordUriBytes() { java.lang.Object ref = crossRealmTrustSharedPasswordUri_; @@ -2522,6 +2714,9 @@ public com.google.protobuf.ByteString getCrossRealmTrustSharedPasswordUriBytes() * * string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The crossRealmTrustSharedPasswordUri to set. + * @return This builder for chaining. */ public Builder setCrossRealmTrustSharedPasswordUri(java.lang.String value) { if (value == null) { @@ -2544,6 +2739,8 @@ public Builder setCrossRealmTrustSharedPasswordUri(java.lang.String value) { * * string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearCrossRealmTrustSharedPasswordUri() { @@ -2564,6 +2761,9 @@ public Builder clearCrossRealmTrustSharedPasswordUri() { * * string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The bytes for crossRealmTrustSharedPasswordUri to set. + * @return This builder for chaining. */ public Builder setCrossRealmTrustSharedPasswordUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2586,6 +2786,8 @@ public Builder setCrossRealmTrustSharedPasswordUriBytes(com.google.protobuf.Byte * * * string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The kdcDbKeyUri. */ public java.lang.String getKdcDbKeyUri() { java.lang.Object ref = kdcDbKeyUri_; @@ -2607,6 +2809,8 @@ public java.lang.String getKdcDbKeyUri() { * * * string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for kdcDbKeyUri. */ public com.google.protobuf.ByteString getKdcDbKeyUriBytes() { java.lang.Object ref = kdcDbKeyUri_; @@ -2628,6 +2832,9 @@ public com.google.protobuf.ByteString getKdcDbKeyUriBytes() { * * * string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The kdcDbKeyUri to set. + * @return This builder for chaining. */ public Builder setKdcDbKeyUri(java.lang.String value) { if (value == null) { @@ -2647,6 +2854,8 @@ public Builder setKdcDbKeyUri(java.lang.String value) { * * * string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearKdcDbKeyUri() { @@ -2663,6 +2872,9 @@ public Builder clearKdcDbKeyUri() { * * * string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for kdcDbKeyUri to set. + * @return This builder for chaining. */ public Builder setKdcDbKeyUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2686,6 +2898,8 @@ public Builder setKdcDbKeyUriBytes(com.google.protobuf.ByteString value) { * * * int32 tgt_lifetime_hours = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The tgtLifetimeHours. */ public int getTgtLifetimeHours() { return tgtLifetimeHours_; @@ -2700,6 +2914,9 @@ public int getTgtLifetimeHours() { * * * int32 tgt_lifetime_hours = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The tgtLifetimeHours to set. + * @return This builder for chaining. */ public Builder setTgtLifetimeHours(int value) { @@ -2717,6 +2934,8 @@ public Builder setTgtLifetimeHours(int value) { * * * int32 tgt_lifetime_hours = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearTgtLifetimeHours() { @@ -2735,6 +2954,8 @@ public Builder clearTgtLifetimeHours() { * * * string realm = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The realm. */ public java.lang.String getRealm() { java.lang.Object ref = realm_; @@ -2756,6 +2977,8 @@ public java.lang.String getRealm() { * * * string realm = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for realm. */ public com.google.protobuf.ByteString getRealmBytes() { java.lang.Object ref = realm_; @@ -2777,6 +3000,9 @@ public com.google.protobuf.ByteString getRealmBytes() { * * * string realm = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The realm to set. + * @return This builder for chaining. */ public Builder setRealm(java.lang.String value) { if (value == null) { @@ -2796,6 +3022,8 @@ public Builder setRealm(java.lang.String value) { * * * string realm = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearRealm() { @@ -2812,6 +3040,9 @@ public Builder clearRealm() { * * * string realm = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for realm to set. + * @return This builder for chaining. */ public Builder setRealmBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/KerberosConfigOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/KerberosConfigOrBuilder.java index b674bfe9..c416fe85 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/KerberosConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/KerberosConfigOrBuilder.java @@ -31,6 +31,8 @@ public interface KerberosConfigOrBuilder * * * bool enable_kerberos = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableKerberos. */ boolean getEnableKerberos(); @@ -43,6 +45,8 @@ public interface KerberosConfigOrBuilder * * * string root_principal_password_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The rootPrincipalPasswordUri. */ java.lang.String getRootPrincipalPasswordUri(); /** @@ -54,6 +58,8 @@ public interface KerberosConfigOrBuilder * * * string root_principal_password_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for rootPrincipalPasswordUri. */ com.google.protobuf.ByteString getRootPrincipalPasswordUriBytes(); @@ -66,6 +72,8 @@ public interface KerberosConfigOrBuilder * * * string kms_key_uri = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The kmsKeyUri. */ java.lang.String getKmsKeyUri(); /** @@ -77,6 +85,8 @@ public interface KerberosConfigOrBuilder * * * string kms_key_uri = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for kmsKeyUri. */ com.google.protobuf.ByteString getKmsKeyUriBytes(); @@ -90,6 +100,8 @@ public interface KerberosConfigOrBuilder * * * string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The keystoreUri. */ java.lang.String getKeystoreUri(); /** @@ -102,6 +114,8 @@ public interface KerberosConfigOrBuilder * * * string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for keystoreUri. */ com.google.protobuf.ByteString getKeystoreUriBytes(); @@ -115,6 +129,8 @@ public interface KerberosConfigOrBuilder * * * string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The truststoreUri. */ java.lang.String getTruststoreUri(); /** @@ -127,6 +143,8 @@ public interface KerberosConfigOrBuilder * * * string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for truststoreUri. */ com.google.protobuf.ByteString getTruststoreUriBytes(); @@ -140,6 +158,8 @@ public interface KerberosConfigOrBuilder * * * string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The keystorePasswordUri. */ java.lang.String getKeystorePasswordUri(); /** @@ -152,6 +172,8 @@ public interface KerberosConfigOrBuilder * * * string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for keystorePasswordUri. */ com.google.protobuf.ByteString getKeystorePasswordUriBytes(); @@ -165,6 +187,8 @@ public interface KerberosConfigOrBuilder * * * string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The keyPasswordUri. */ java.lang.String getKeyPasswordUri(); /** @@ -177,6 +201,8 @@ public interface KerberosConfigOrBuilder * * * string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for keyPasswordUri. */ com.google.protobuf.ByteString getKeyPasswordUriBytes(); @@ -190,6 +216,8 @@ public interface KerberosConfigOrBuilder * * * string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The truststorePasswordUri. */ java.lang.String getTruststorePasswordUri(); /** @@ -202,6 +230,8 @@ public interface KerberosConfigOrBuilder * * * string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for truststorePasswordUri. */ com.google.protobuf.ByteString getTruststorePasswordUriBytes(); @@ -214,6 +244,8 @@ public interface KerberosConfigOrBuilder * * * string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The crossRealmTrustRealm. */ java.lang.String getCrossRealmTrustRealm(); /** @@ -225,6 +257,8 @@ public interface KerberosConfigOrBuilder * * * string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for crossRealmTrustRealm. */ com.google.protobuf.ByteString getCrossRealmTrustRealmBytes(); @@ -237,6 +271,8 @@ public interface KerberosConfigOrBuilder * * * string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The crossRealmTrustKdc. */ java.lang.String getCrossRealmTrustKdc(); /** @@ -248,6 +284,8 @@ public interface KerberosConfigOrBuilder * * * string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for crossRealmTrustKdc. */ com.google.protobuf.ByteString getCrossRealmTrustKdcBytes(); @@ -261,6 +299,8 @@ public interface KerberosConfigOrBuilder * * string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The crossRealmTrustAdminServer. */ java.lang.String getCrossRealmTrustAdminServer(); /** @@ -273,6 +313,8 @@ public interface KerberosConfigOrBuilder * * string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The bytes for crossRealmTrustAdminServer. */ com.google.protobuf.ByteString getCrossRealmTrustAdminServerBytes(); @@ -288,6 +330,8 @@ public interface KerberosConfigOrBuilder * * string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The crossRealmTrustSharedPasswordUri. */ java.lang.String getCrossRealmTrustSharedPasswordUri(); /** @@ -302,6 +346,8 @@ public interface KerberosConfigOrBuilder * * string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The bytes for crossRealmTrustSharedPasswordUri. */ com.google.protobuf.ByteString getCrossRealmTrustSharedPasswordUriBytes(); @@ -314,6 +360,8 @@ public interface KerberosConfigOrBuilder * * * string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The kdcDbKeyUri. */ java.lang.String getKdcDbKeyUri(); /** @@ -325,6 +373,8 @@ public interface KerberosConfigOrBuilder * * * string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for kdcDbKeyUri. */ com.google.protobuf.ByteString getKdcDbKeyUriBytes(); @@ -338,6 +388,8 @@ public interface KerberosConfigOrBuilder * * * int32 tgt_lifetime_hours = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The tgtLifetimeHours. */ int getTgtLifetimeHours(); @@ -350,6 +402,8 @@ public interface KerberosConfigOrBuilder * * * string realm = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The realm. */ java.lang.String getRealm(); /** @@ -361,6 +415,8 @@ public interface KerberosConfigOrBuilder * * * string realm = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for realm. */ com.google.protobuf.ByteString getRealmBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListAutoscalingPoliciesRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListAutoscalingPoliciesRequest.java index b31c03bd..82e1eaad 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListAutoscalingPoliciesRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListAutoscalingPoliciesRequest.java @@ -43,6 +43,12 @@ private ListAutoscalingPoliciesRequest() { pageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListAutoscalingPoliciesRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private ListAutoscalingPoliciesRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -139,6 +144,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -168,6 +175,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -192,6 +201,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -208,6 +219,8 @@ public int getPageSize() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -229,6 +242,8 @@ public java.lang.String getPageToken() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -610,6 +625,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -639,6 +656,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -668,6 +687,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -695,6 +717,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -719,6 +743,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -741,6 +768,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -754,6 +783,9 @@ public int getPageSize() { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageSize to set. + * @return This builder for chaining. */ public Builder setPageSize(int value) { @@ -770,6 +802,8 @@ public Builder setPageSize(int value) { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearPageSize() { @@ -788,6 +822,8 @@ public Builder clearPageSize() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -809,6 +845,8 @@ public java.lang.String getPageToken() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -830,6 +868,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageToken to set. + * @return This builder for chaining. */ public Builder setPageToken(java.lang.String value) { if (value == null) { @@ -849,6 +890,8 @@ public Builder setPageToken(java.lang.String value) { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearPageToken() { @@ -865,6 +908,9 @@ public Builder clearPageToken() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. */ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListAutoscalingPoliciesRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListAutoscalingPoliciesRequestOrBuilder.java index 6fc2e4c7..3fe6efe9 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListAutoscalingPoliciesRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListAutoscalingPoliciesRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface ListAutoscalingPoliciesRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -59,6 +61,8 @@ public interface ListAutoscalingPoliciesRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -71,6 +75,8 @@ public interface ListAutoscalingPoliciesRequestOrBuilder * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. */ int getPageSize(); @@ -83,6 +89,8 @@ public interface ListAutoscalingPoliciesRequestOrBuilder * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. */ java.lang.String getPageToken(); /** @@ -94,6 +102,8 @@ public interface ListAutoscalingPoliciesRequestOrBuilder * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListAutoscalingPoliciesResponse.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListAutoscalingPoliciesResponse.java index 45590630..85a8e378 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListAutoscalingPoliciesResponse.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListAutoscalingPoliciesResponse.java @@ -43,6 +43,12 @@ private ListAutoscalingPoliciesResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListAutoscalingPoliciesResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -123,7 +129,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse.Builder.class); } - private int bitField0_; public static final int POLICIES_FIELD_NUMBER = 1; private java.util.List policies_; /** @@ -209,6 +214,8 @@ public com.google.cloud.dataproc.v1.AutoscalingPolicyOrBuilder getPoliciesOrBuil * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -230,6 +237,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -498,7 +507,6 @@ public com.google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse buildPartial com.google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse result = new com.google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (policiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { policies_ = java.util.Collections.unmodifiableList(policies_); @@ -509,7 +517,6 @@ public com.google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse buildPartial result.policies_ = policiesBuilder_.build(); } result.nextPageToken_ = nextPageToken_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1021,6 +1028,8 @@ public com.google.cloud.dataproc.v1.AutoscalingPolicy.Builder addPoliciesBuilder * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -1042,6 +1051,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -1063,6 +1074,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { @@ -1082,6 +1096,8 @@ public Builder setNextPageToken(java.lang.String value) { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1098,6 +1114,9 @@ public Builder clearNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListAutoscalingPoliciesResponseOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListAutoscalingPoliciesResponseOrBuilder.java index 9d203ea3..f0237e4a 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListAutoscalingPoliciesResponseOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListAutoscalingPoliciesResponseOrBuilder.java @@ -94,6 +94,8 @@ public interface ListAutoscalingPoliciesResponseOrBuilder * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** @@ -105,6 +107,8 @@ public interface ListAutoscalingPoliciesResponseOrBuilder * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersRequest.java index d4594646..bcab2bfa 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersRequest.java @@ -44,6 +44,12 @@ private ListClustersRequest() { pageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListClustersRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -57,7 +63,6 @@ private ListClustersRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -146,6 +151,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -167,6 +174,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -190,6 +199,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -210,6 +221,8 @@ public java.lang.String getRegion() { * * * string region = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -247,6 +260,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; @@ -281,6 +296,8 @@ public java.lang.String getFilter() { * * * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; @@ -304,6 +321,8 @@ public com.google.protobuf.ByteString getFilterBytes() { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -319,6 +338,8 @@ public int getPageSize() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -339,6 +360,8 @@ public java.lang.String getPageToken() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -742,6 +765,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -763,6 +788,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -784,6 +811,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -803,6 +833,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -819,6 +851,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -840,6 +875,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -860,6 +897,8 @@ public java.lang.String getRegion() { * * * string region = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -880,6 +919,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -898,6 +940,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -913,6 +957,9 @@ public Builder clearRegion() { * * * string region = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -948,6 +995,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; @@ -982,6 +1031,8 @@ public java.lang.String getFilter() { * * * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; @@ -1016,6 +1067,9 @@ public com.google.protobuf.ByteString getFilterBytes() { * * * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The filter to set. + * @return This builder for chaining. */ public Builder setFilter(java.lang.String value) { if (value == null) { @@ -1048,6 +1102,8 @@ public Builder setFilter(java.lang.String value) { * * * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearFilter() { @@ -1077,6 +1133,9 @@ public Builder clearFilter() { * * * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. */ public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1098,6 +1157,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -1110,6 +1171,9 @@ public int getPageSize() { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageSize to set. + * @return This builder for chaining. */ public Builder setPageSize(int value) { @@ -1125,6 +1189,8 @@ public Builder setPageSize(int value) { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1142,6 +1208,8 @@ public Builder clearPageSize() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -1162,6 +1230,8 @@ public java.lang.String getPageToken() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -1182,6 +1252,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageToken to set. + * @return This builder for chaining. */ public Builder setPageToken(java.lang.String value) { if (value == null) { @@ -1200,6 +1273,8 @@ public Builder setPageToken(java.lang.String value) { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1215,6 +1290,9 @@ public Builder clearPageToken() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. */ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersRequestOrBuilder.java index d12d5c6e..8c3bbf02 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface ListClustersRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface ListClustersRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface ListClustersRequestOrBuilder * * * string region = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface ListClustersRequestOrBuilder * * * string region = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -89,6 +97,8 @@ public interface ListClustersRequestOrBuilder * * * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. */ java.lang.String getFilter(); /** @@ -113,6 +123,8 @@ public interface ListClustersRequestOrBuilder * * * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); @@ -124,6 +136,8 @@ public interface ListClustersRequestOrBuilder * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. */ int getPageSize(); @@ -135,6 +149,8 @@ public interface ListClustersRequestOrBuilder * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. */ java.lang.String getPageToken(); /** @@ -145,6 +161,8 @@ public interface ListClustersRequestOrBuilder * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersResponse.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersResponse.java index 1b1c7426..70bef1aa 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersResponse.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersResponse.java @@ -42,6 +42,12 @@ private ListClustersResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListClustersResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -121,7 +127,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dataproc.v1.ListClustersResponse.Builder.class); } - private int bitField0_; public static final int CLUSTERS_FIELD_NUMBER = 1; private java.util.List clusters_; /** @@ -208,6 +213,8 @@ public com.google.cloud.dataproc.v1.ClusterOrBuilder getClustersOrBuilder(int in * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -230,6 +237,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -496,7 +505,6 @@ public com.google.cloud.dataproc.v1.ListClustersResponse buildPartial() { com.google.cloud.dataproc.v1.ListClustersResponse result = new com.google.cloud.dataproc.v1.ListClustersResponse(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { clusters_ = java.util.Collections.unmodifiableList(clusters_); @@ -507,7 +515,6 @@ public com.google.cloud.dataproc.v1.ListClustersResponse buildPartial() { result.clusters_ = clustersBuilder_.build(); } result.nextPageToken_ = nextPageToken_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1016,6 +1023,8 @@ public java.util.List getClustersB * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -1038,6 +1047,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -1060,6 +1071,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { @@ -1080,6 +1094,8 @@ public Builder setNextPageToken(java.lang.String value) { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1097,6 +1113,9 @@ public Builder clearNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersResponseOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersResponseOrBuilder.java index e9962f6b..076905f1 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersResponseOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersResponseOrBuilder.java @@ -95,6 +95,8 @@ public interface ListClustersResponseOrBuilder * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** @@ -107,6 +109,8 @@ public interface ListClustersResponseOrBuilder * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsRequest.java index 1ad441b0..84ee1bf3 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsRequest.java @@ -46,6 +46,12 @@ private ListJobsRequest() { filter_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListJobsRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -59,7 +65,6 @@ private ListJobsRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -235,12 +240,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static JobStateMatcher valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static JobStateMatcher forNumber(int value) { switch (value) { case 0: @@ -311,6 +324,8 @@ private JobStateMatcher(int value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -332,6 +347,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -355,6 +372,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -375,6 +394,8 @@ public java.lang.String getRegion() { * * * string region = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -398,6 +419,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -414,6 +437,8 @@ public int getPageSize() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -435,6 +460,8 @@ public java.lang.String getPageToken() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -459,6 +486,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * string cluster_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -480,6 +509,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -507,6 +538,8 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * .google.cloud.dataproc.v1.ListJobsRequest.JobStateMatcher job_state_matcher = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for jobStateMatcher. */ public int getJobStateMatcherValue() { return jobStateMatcher_; @@ -523,6 +556,8 @@ public int getJobStateMatcherValue() { * * .google.cloud.dataproc.v1.ListJobsRequest.JobStateMatcher job_state_matcher = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The jobStateMatcher. */ public com.google.cloud.dataproc.v1.ListJobsRequest.JobStateMatcher getJobStateMatcher() { @SuppressWarnings("deprecation") @@ -552,6 +587,8 @@ public com.google.cloud.dataproc.v1.ListJobsRequest.JobStateMatcher getJobStateM * * * string filter = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; @@ -581,6 +618,8 @@ public java.lang.String getFilter() { * * * string filter = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; @@ -1016,6 +1055,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -1037,6 +1078,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -1058,6 +1101,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -1077,6 +1123,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1093,6 +1141,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1114,6 +1165,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -1134,6 +1187,8 @@ public java.lang.String getRegion() { * * * string region = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -1154,6 +1209,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -1172,6 +1230,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -1187,6 +1247,9 @@ public Builder clearRegion() { * * * string region = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1208,6 +1271,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -1220,6 +1285,9 @@ public int getPageSize() { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageSize to set. + * @return This builder for chaining. */ public Builder setPageSize(int value) { @@ -1235,6 +1303,8 @@ public Builder setPageSize(int value) { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1253,6 +1323,8 @@ public Builder clearPageSize() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -1274,6 +1346,8 @@ public java.lang.String getPageToken() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -1295,6 +1369,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageToken to set. + * @return This builder for chaining. */ public Builder setPageToken(java.lang.String value) { if (value == null) { @@ -1314,6 +1391,8 @@ public Builder setPageToken(java.lang.String value) { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1330,6 +1409,9 @@ public Builder clearPageToken() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. */ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1352,6 +1434,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { * * * string cluster_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -1373,6 +1457,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -1394,6 +1480,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -1413,6 +1502,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -1429,6 +1520,9 @@ public Builder clearClusterName() { * * * string cluster_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1454,6 +1548,8 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1.ListJobsRequest.JobStateMatcher job_state_matcher = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for jobStateMatcher. */ public int getJobStateMatcherValue() { return jobStateMatcher_; @@ -1470,6 +1566,9 @@ public int getJobStateMatcherValue() { * * .google.cloud.dataproc.v1.ListJobsRequest.JobStateMatcher job_state_matcher = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The enum numeric value on the wire for jobStateMatcher to set. + * @return This builder for chaining. */ public Builder setJobStateMatcherValue(int value) { jobStateMatcher_ = value; @@ -1488,6 +1587,8 @@ public Builder setJobStateMatcherValue(int value) { * * .google.cloud.dataproc.v1.ListJobsRequest.JobStateMatcher job_state_matcher = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The jobStateMatcher. */ public com.google.cloud.dataproc.v1.ListJobsRequest.JobStateMatcher getJobStateMatcher() { @SuppressWarnings("deprecation") @@ -1509,6 +1610,9 @@ public com.google.cloud.dataproc.v1.ListJobsRequest.JobStateMatcher getJobStateM * * .google.cloud.dataproc.v1.ListJobsRequest.JobStateMatcher job_state_matcher = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The jobStateMatcher to set. + * @return This builder for chaining. */ public Builder setJobStateMatcher( com.google.cloud.dataproc.v1.ListJobsRequest.JobStateMatcher value) { @@ -1532,6 +1636,8 @@ public Builder setJobStateMatcher( * * .google.cloud.dataproc.v1.ListJobsRequest.JobStateMatcher job_state_matcher = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearJobStateMatcher() { @@ -1558,6 +1664,8 @@ public Builder clearJobStateMatcher() { * * * string filter = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; @@ -1587,6 +1695,8 @@ public java.lang.String getFilter() { * * * string filter = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; @@ -1616,6 +1726,9 @@ public com.google.protobuf.ByteString getFilterBytes() { * * * string filter = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The filter to set. + * @return This builder for chaining. */ public Builder setFilter(java.lang.String value) { if (value == null) { @@ -1643,6 +1756,8 @@ public Builder setFilter(java.lang.String value) { * * * string filter = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearFilter() { @@ -1667,6 +1782,9 @@ public Builder clearFilter() { * * * string filter = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. */ public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsRequestOrBuilder.java index 582807fb..80bcea4a 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface ListJobsRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface ListJobsRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface ListJobsRequestOrBuilder * * * string region = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface ListJobsRequestOrBuilder * * * string region = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface ListJobsRequestOrBuilder * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. */ int getPageSize(); @@ -87,6 +97,8 @@ public interface ListJobsRequestOrBuilder * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. */ java.lang.String getPageToken(); /** @@ -98,6 +110,8 @@ public interface ListJobsRequestOrBuilder * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); @@ -110,6 +124,8 @@ public interface ListJobsRequestOrBuilder * * * string cluster_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -121,6 +137,8 @@ public interface ListJobsRequestOrBuilder * * * string cluster_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); @@ -136,6 +154,8 @@ public interface ListJobsRequestOrBuilder * * .google.cloud.dataproc.v1.ListJobsRequest.JobStateMatcher job_state_matcher = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for jobStateMatcher. */ int getJobStateMatcherValue(); /** @@ -150,6 +170,8 @@ public interface ListJobsRequestOrBuilder * * .google.cloud.dataproc.v1.ListJobsRequest.JobStateMatcher job_state_matcher = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The jobStateMatcher. */ com.google.cloud.dataproc.v1.ListJobsRequest.JobStateMatcher getJobStateMatcher(); @@ -170,6 +192,8 @@ public interface ListJobsRequestOrBuilder * * * string filter = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. */ java.lang.String getFilter(); /** @@ -189,6 +213,8 @@ public interface ListJobsRequestOrBuilder * * * string filter = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsResponse.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsResponse.java index 16da279d..0d879142 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsResponse.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsResponse.java @@ -42,6 +42,12 @@ private ListJobsResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListJobsResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -120,7 +126,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dataproc.v1.ListJobsResponse.Builder.class); } - private int bitField0_; public static final int JOBS_FIELD_NUMBER = 1; private java.util.List jobs_; /** @@ -207,6 +212,8 @@ public com.google.cloud.dataproc.v1.JobOrBuilder getJobsOrBuilder(int index) { * * * string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -229,6 +236,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -495,7 +504,6 @@ public com.google.cloud.dataproc.v1.ListJobsResponse buildPartial() { com.google.cloud.dataproc.v1.ListJobsResponse result = new com.google.cloud.dataproc.v1.ListJobsResponse(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (jobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { jobs_ = java.util.Collections.unmodifiableList(jobs_); @@ -506,7 +514,6 @@ public com.google.cloud.dataproc.v1.ListJobsResponse buildPartial() { result.jobs_ = jobsBuilder_.build(); } result.nextPageToken_ = nextPageToken_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1011,6 +1018,8 @@ public java.util.List getJobsBuilderLi * * * string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -1033,6 +1042,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -1055,6 +1066,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { @@ -1075,6 +1089,8 @@ public Builder setNextPageToken(java.lang.String value) { * * * string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1092,6 +1108,9 @@ public Builder clearNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsResponseOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsResponseOrBuilder.java index 36a3dbde..616261dd 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsResponseOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsResponseOrBuilder.java @@ -94,6 +94,8 @@ public interface ListJobsResponseOrBuilder * * * string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** @@ -106,6 +108,8 @@ public interface ListJobsResponseOrBuilder * * * string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListWorkflowTemplatesRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListWorkflowTemplatesRequest.java index 25bc178e..cce070fa 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListWorkflowTemplatesRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListWorkflowTemplatesRequest.java @@ -42,6 +42,12 @@ private ListWorkflowTemplatesRequest() { pageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListWorkflowTemplatesRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private ListWorkflowTemplatesRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -138,6 +143,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -167,6 +174,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -190,6 +199,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -206,6 +217,8 @@ public int getPageSize() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -227,6 +240,8 @@ public java.lang.String getPageToken() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -608,6 +623,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -637,6 +654,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -666,6 +685,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -693,6 +715,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -717,6 +741,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -738,6 +765,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -750,6 +779,9 @@ public int getPageSize() { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageSize to set. + * @return This builder for chaining. */ public Builder setPageSize(int value) { @@ -765,6 +797,8 @@ public Builder setPageSize(int value) { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearPageSize() { @@ -783,6 +817,8 @@ public Builder clearPageSize() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -804,6 +840,8 @@ public java.lang.String getPageToken() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -825,6 +863,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageToken to set. + * @return This builder for chaining. */ public Builder setPageToken(java.lang.String value) { if (value == null) { @@ -844,6 +885,8 @@ public Builder setPageToken(java.lang.String value) { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearPageToken() { @@ -860,6 +903,9 @@ public Builder clearPageToken() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. */ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListWorkflowTemplatesRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListWorkflowTemplatesRequestOrBuilder.java index 9f7dadc4..5d4096a6 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListWorkflowTemplatesRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListWorkflowTemplatesRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface ListWorkflowTemplatesRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -59,6 +61,8 @@ public interface ListWorkflowTemplatesRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -70,6 +74,8 @@ public interface ListWorkflowTemplatesRequestOrBuilder * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. */ int getPageSize(); @@ -82,6 +88,8 @@ public interface ListWorkflowTemplatesRequestOrBuilder * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. */ java.lang.String getPageToken(); /** @@ -93,6 +101,8 @@ public interface ListWorkflowTemplatesRequestOrBuilder * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListWorkflowTemplatesResponse.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListWorkflowTemplatesResponse.java index af0b26e9..0ccaabe8 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListWorkflowTemplatesResponse.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListWorkflowTemplatesResponse.java @@ -42,6 +42,12 @@ private ListWorkflowTemplatesResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListWorkflowTemplatesResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -122,7 +128,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dataproc.v1.ListWorkflowTemplatesResponse.Builder.class); } - private int bitField0_; public static final int TEMPLATES_FIELD_NUMBER = 1; private java.util.List templates_; /** @@ -209,6 +214,8 @@ public com.google.cloud.dataproc.v1.WorkflowTemplateOrBuilder getTemplatesOrBuil * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -231,6 +238,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -498,7 +507,6 @@ public com.google.cloud.dataproc.v1.ListWorkflowTemplatesResponse buildPartial() com.google.cloud.dataproc.v1.ListWorkflowTemplatesResponse result = new com.google.cloud.dataproc.v1.ListWorkflowTemplatesResponse(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (templatesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { templates_ = java.util.Collections.unmodifiableList(templates_); @@ -509,7 +517,6 @@ public com.google.cloud.dataproc.v1.ListWorkflowTemplatesResponse buildPartial() result.templates_ = templatesBuilder_.build(); } result.nextPageToken_ = nextPageToken_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1021,6 +1028,8 @@ public com.google.cloud.dataproc.v1.WorkflowTemplate.Builder addTemplatesBuilder * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -1043,6 +1052,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -1065,6 +1076,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { @@ -1085,6 +1099,8 @@ public Builder setNextPageToken(java.lang.String value) { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1102,6 +1118,9 @@ public Builder clearNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListWorkflowTemplatesResponseOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListWorkflowTemplatesResponseOrBuilder.java index 35dea607..29c4c327 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListWorkflowTemplatesResponseOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListWorkflowTemplatesResponseOrBuilder.java @@ -95,6 +95,8 @@ public interface ListWorkflowTemplatesResponseOrBuilder * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** @@ -107,6 +109,8 @@ public interface ListWorkflowTemplatesResponseOrBuilder * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LoggingConfig.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LoggingConfig.java index 5e61a605..c7d4288d 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LoggingConfig.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LoggingConfig.java @@ -39,6 +39,12 @@ private LoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) private LoggingConfig() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LoggingConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -329,12 +335,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static Level valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static Level forNumber(int value) { switch (value) { case 0: diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedCluster.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedCluster.java index 8907155e..d4b4d9fa 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedCluster.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedCluster.java @@ -41,6 +41,12 @@ private ManagedCluster() { clusterName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ManagedCluster(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -90,10 +96,10 @@ private ManagedCluster( } case 34: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( @@ -146,7 +152,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1.ManagedCluster.Builder.class); } - private int bitField0_; public static final int CLUSTER_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object clusterName_; /** @@ -161,6 +166,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -185,6 +192,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -210,6 +219,8 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * .google.cloud.dataproc.v1.ClusterConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ public boolean hasConfig() { return config_ != null; @@ -224,6 +235,8 @@ public boolean hasConfig() { * * .google.cloud.dataproc.v1.ClusterConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ public com.google.cloud.dataproc.v1.ClusterConfig getConfig() { return config_ == null @@ -654,7 +667,6 @@ public com.google.cloud.dataproc.v1.ManagedCluster buildPartial() { com.google.cloud.dataproc.v1.ManagedCluster result = new com.google.cloud.dataproc.v1.ManagedCluster(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.clusterName_ = clusterName_; if (configBuilder_ == null) { result.config_ = config_; @@ -663,7 +675,6 @@ public com.google.cloud.dataproc.v1.ManagedCluster buildPartial() { } result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -765,6 +776,8 @@ public Builder mergeFrom( * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -789,6 +802,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -813,6 +828,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -835,6 +853,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -854,6 +874,9 @@ public Builder clearClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -882,6 +905,8 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1.ClusterConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; @@ -896,6 +921,8 @@ public boolean hasConfig() { * * .google.cloud.dataproc.v1.ClusterConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ public com.google.cloud.dataproc.v1.ClusterConfig getConfig() { if (configBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedClusterOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedClusterOrBuilder.java index 76356f81..7684307f 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedClusterOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedClusterOrBuilder.java @@ -35,6 +35,8 @@ public interface ManagedClusterOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -49,6 +51,8 @@ public interface ManagedClusterOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); @@ -62,6 +66,8 @@ public interface ManagedClusterOrBuilder * * .google.cloud.dataproc.v1.ClusterConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ boolean hasConfig(); /** @@ -74,6 +80,8 @@ public interface ManagedClusterOrBuilder * * .google.cloud.dataproc.v1.ClusterConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ com.google.cloud.dataproc.v1.ClusterConfig getConfig(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedGroupConfig.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedGroupConfig.java index 249dbe16..964af791 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedGroupConfig.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedGroupConfig.java @@ -42,6 +42,12 @@ private ManagedGroupConfig() { instanceGroupManagerName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ManagedGroupConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private ManagedGroupConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -125,6 +130,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The instanceTemplateName. */ public java.lang.String getInstanceTemplateName() { java.lang.Object ref = instanceTemplateName_; @@ -146,6 +153,8 @@ public java.lang.String getInstanceTemplateName() { * * * string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for instanceTemplateName. */ public com.google.protobuf.ByteString getInstanceTemplateNameBytes() { java.lang.Object ref = instanceTemplateName_; @@ -170,6 +179,8 @@ public com.google.protobuf.ByteString getInstanceTemplateNameBytes() { * * string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The instanceGroupManagerName. */ public java.lang.String getInstanceGroupManagerName() { java.lang.Object ref = instanceGroupManagerName_; @@ -191,6 +202,8 @@ public java.lang.String getInstanceGroupManagerName() { * * string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The bytes for instanceGroupManagerName. */ public com.google.protobuf.ByteString getInstanceGroupManagerNameBytes() { java.lang.Object ref = instanceGroupManagerName_; @@ -548,6 +561,8 @@ public Builder mergeFrom( * * * string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The instanceTemplateName. */ public java.lang.String getInstanceTemplateName() { java.lang.Object ref = instanceTemplateName_; @@ -569,6 +584,8 @@ public java.lang.String getInstanceTemplateName() { * * * string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for instanceTemplateName. */ public com.google.protobuf.ByteString getInstanceTemplateNameBytes() { java.lang.Object ref = instanceTemplateName_; @@ -590,6 +607,9 @@ public com.google.protobuf.ByteString getInstanceTemplateNameBytes() { * * * string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The instanceTemplateName to set. + * @return This builder for chaining. */ public Builder setInstanceTemplateName(java.lang.String value) { if (value == null) { @@ -609,6 +629,8 @@ public Builder setInstanceTemplateName(java.lang.String value) { * * * string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearInstanceTemplateName() { @@ -625,6 +647,9 @@ public Builder clearInstanceTemplateName() { * * * string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for instanceTemplateName to set. + * @return This builder for chaining. */ public Builder setInstanceTemplateNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -647,6 +672,8 @@ public Builder setInstanceTemplateNameBytes(com.google.protobuf.ByteString value * * string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The instanceGroupManagerName. */ public java.lang.String getInstanceGroupManagerName() { java.lang.Object ref = instanceGroupManagerName_; @@ -668,6 +695,8 @@ public java.lang.String getInstanceGroupManagerName() { * * string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The bytes for instanceGroupManagerName. */ public com.google.protobuf.ByteString getInstanceGroupManagerNameBytes() { java.lang.Object ref = instanceGroupManagerName_; @@ -689,6 +718,9 @@ public com.google.protobuf.ByteString getInstanceGroupManagerNameBytes() { * * string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The instanceGroupManagerName to set. + * @return This builder for chaining. */ public Builder setInstanceGroupManagerName(java.lang.String value) { if (value == null) { @@ -708,6 +740,8 @@ public Builder setInstanceGroupManagerName(java.lang.String value) { * * string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ public Builder clearInstanceGroupManagerName() { @@ -724,6 +758,9 @@ public Builder clearInstanceGroupManagerName() { * * string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The bytes for instanceGroupManagerName to set. + * @return This builder for chaining. */ public Builder setInstanceGroupManagerNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedGroupConfigOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedGroupConfigOrBuilder.java index 3a0221c0..a8f62c7c 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedGroupConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedGroupConfigOrBuilder.java @@ -32,6 +32,8 @@ public interface ManagedGroupConfigOrBuilder * * * string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The instanceTemplateName. */ java.lang.String getInstanceTemplateName(); /** @@ -43,6 +45,8 @@ public interface ManagedGroupConfigOrBuilder * * * string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for instanceTemplateName. */ com.google.protobuf.ByteString getInstanceTemplateNameBytes(); @@ -55,6 +59,8 @@ public interface ManagedGroupConfigOrBuilder * * string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The instanceGroupManagerName. */ java.lang.String getInstanceGroupManagerName(); /** @@ -66,6 +72,8 @@ public interface ManagedGroupConfigOrBuilder * * string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The bytes for instanceGroupManagerName. */ com.google.protobuf.ByteString getInstanceGroupManagerNameBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/NodeInitializationAction.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/NodeInitializationAction.java index 81d9a7b9..2cea8229 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/NodeInitializationAction.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/NodeInitializationAction.java @@ -42,6 +42,12 @@ private NodeInitializationAction() { executableFile_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NodeInitializationAction(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private NodeInitializationAction( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -132,6 +137,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string executable_file = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The executableFile. */ public java.lang.String getExecutableFile() { java.lang.Object ref = executableFile_; @@ -152,6 +159,8 @@ public java.lang.String getExecutableFile() { * * * string executable_file = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for executableFile. */ public com.google.protobuf.ByteString getExecutableFileBytes() { java.lang.Object ref = executableFile_; @@ -180,6 +189,8 @@ public com.google.protobuf.ByteString getExecutableFileBytes() { * * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the executionTimeout field is set. */ public boolean hasExecutionTimeout() { return executionTimeout_ != null; @@ -197,6 +208,8 @@ public boolean hasExecutionTimeout() { * * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The executionTimeout. */ public com.google.protobuf.Duration getExecutionTimeout() { return executionTimeout_ == null @@ -578,6 +591,8 @@ public Builder mergeFrom( * * * string executable_file = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The executableFile. */ public java.lang.String getExecutableFile() { java.lang.Object ref = executableFile_; @@ -598,6 +613,8 @@ public java.lang.String getExecutableFile() { * * * string executable_file = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for executableFile. */ public com.google.protobuf.ByteString getExecutableFileBytes() { java.lang.Object ref = executableFile_; @@ -618,6 +635,9 @@ public com.google.protobuf.ByteString getExecutableFileBytes() { * * * string executable_file = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The executableFile to set. + * @return This builder for chaining. */ public Builder setExecutableFile(java.lang.String value) { if (value == null) { @@ -636,6 +656,8 @@ public Builder setExecutableFile(java.lang.String value) { * * * string executable_file = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearExecutableFile() { @@ -651,6 +673,9 @@ public Builder clearExecutableFile() { * * * string executable_file = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for executableFile to set. + * @return This builder for chaining. */ public Builder setExecutableFileBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -682,6 +707,8 @@ public Builder setExecutableFileBytes(com.google.protobuf.ByteString value) { * * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the executionTimeout field is set. */ public boolean hasExecutionTimeout() { return executionTimeoutBuilder_ != null || executionTimeout_ != null; @@ -699,6 +726,8 @@ public boolean hasExecutionTimeout() { * * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The executionTimeout. */ public com.google.protobuf.Duration getExecutionTimeout() { if (executionTimeoutBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/NodeInitializationActionOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/NodeInitializationActionOrBuilder.java index c7701e17..91a59167 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/NodeInitializationActionOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/NodeInitializationActionOrBuilder.java @@ -31,6 +31,8 @@ public interface NodeInitializationActionOrBuilder * * * string executable_file = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The executableFile. */ java.lang.String getExecutableFile(); /** @@ -41,6 +43,8 @@ public interface NodeInitializationActionOrBuilder * * * string executable_file = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for executableFile. */ com.google.protobuf.ByteString getExecutableFileBytes(); @@ -57,6 +61,8 @@ public interface NodeInitializationActionOrBuilder * * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the executionTimeout field is set. */ boolean hasExecutionTimeout(); /** @@ -72,6 +78,8 @@ public interface NodeInitializationActionOrBuilder * * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The executionTimeout. */ com.google.protobuf.Duration getExecutionTimeout(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OperationsProto.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OperationsProto.java index 22df90df..b1cdc25a 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OperationsProto.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OperationsProto.java @@ -75,22 +75,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "leapis/cloud/dataproc/v1;dataprocb\006proto" + "3" }; - 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.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); internal_static_google_cloud_dataproc_v1_ClusterOperationStatus_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_dataproc_v1_ClusterOperationStatus_fieldAccessorTable = diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OrderedJob.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OrderedJob.java index 2a42e7f7..6c03fbdf 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OrderedJob.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OrderedJob.java @@ -42,6 +42,12 @@ private OrderedJob() { prerequisiteStepIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new OrderedJob(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -171,10 +177,10 @@ private OrderedJob( } case 66: { - if (!((mutable_bitField0_ & 0x00000080) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000080; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( @@ -201,9 +207,9 @@ private OrderedJob( case 82: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000200) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { prerequisiteStepIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000200; + mutable_bitField0_ |= 0x00000002; } prerequisiteStepIds_.add(s); break; @@ -222,7 +228,7 @@ private OrderedJob( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000200) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { prerequisiteStepIds_ = prerequisiteStepIds_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -256,11 +262,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1.OrderedJob.Builder.class); } - private int bitField0_; private int jobTypeCase_ = 0; private java.lang.Object jobType_; - public enum JobTypeCase implements com.google.protobuf.Internal.EnumLite { + public enum JobTypeCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { HADOOP_JOB(2), SPARK_JOB(3), PYSPARK_JOB(4), @@ -273,7 +281,11 @@ public enum JobTypeCase implements com.google.protobuf.Internal.EnumLite { private JobTypeCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static JobTypeCase valueOf(int value) { return forNumber(value); @@ -327,6 +339,8 @@ public JobTypeCase getJobTypeCase() { * * * string step_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The stepId. */ public java.lang.String getStepId() { java.lang.Object ref = stepId_; @@ -355,6 +369,8 @@ public java.lang.String getStepId() { * * * string step_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for stepId. */ public com.google.protobuf.ByteString getStepIdBytes() { java.lang.Object ref = stepId_; @@ -377,6 +393,8 @@ public com.google.protobuf.ByteString getStepIdBytes() { * * * .google.cloud.dataproc.v1.HadoopJob hadoop_job = 2; + * + * @return Whether the hadoopJob field is set. */ public boolean hasHadoopJob() { return jobTypeCase_ == 2; @@ -389,6 +407,8 @@ public boolean hasHadoopJob() { * * * .google.cloud.dataproc.v1.HadoopJob hadoop_job = 2; + * + * @return The hadoopJob. */ public com.google.cloud.dataproc.v1.HadoopJob getHadoopJob() { if (jobTypeCase_ == 2) { @@ -421,6 +441,8 @@ public com.google.cloud.dataproc.v1.HadoopJobOrBuilder getHadoopJobOrBuilder() { * * * .google.cloud.dataproc.v1.SparkJob spark_job = 3; + * + * @return Whether the sparkJob field is set. */ public boolean hasSparkJob() { return jobTypeCase_ == 3; @@ -433,6 +455,8 @@ public boolean hasSparkJob() { * * * .google.cloud.dataproc.v1.SparkJob spark_job = 3; + * + * @return The sparkJob. */ public com.google.cloud.dataproc.v1.SparkJob getSparkJob() { if (jobTypeCase_ == 3) { @@ -465,6 +489,8 @@ public com.google.cloud.dataproc.v1.SparkJobOrBuilder getSparkJobOrBuilder() { * * * .google.cloud.dataproc.v1.PySparkJob pyspark_job = 4; + * + * @return Whether the pysparkJob field is set. */ public boolean hasPysparkJob() { return jobTypeCase_ == 4; @@ -477,6 +503,8 @@ public boolean hasPysparkJob() { * * * .google.cloud.dataproc.v1.PySparkJob pyspark_job = 4; + * + * @return The pysparkJob. */ public com.google.cloud.dataproc.v1.PySparkJob getPysparkJob() { if (jobTypeCase_ == 4) { @@ -509,6 +537,8 @@ public com.google.cloud.dataproc.v1.PySparkJobOrBuilder getPysparkJobOrBuilder() * * * .google.cloud.dataproc.v1.HiveJob hive_job = 5; + * + * @return Whether the hiveJob field is set. */ public boolean hasHiveJob() { return jobTypeCase_ == 5; @@ -521,6 +551,8 @@ public boolean hasHiveJob() { * * * .google.cloud.dataproc.v1.HiveJob hive_job = 5; + * + * @return The hiveJob. */ public com.google.cloud.dataproc.v1.HiveJob getHiveJob() { if (jobTypeCase_ == 5) { @@ -553,6 +585,8 @@ public com.google.cloud.dataproc.v1.HiveJobOrBuilder getHiveJobOrBuilder() { * * * .google.cloud.dataproc.v1.PigJob pig_job = 6; + * + * @return Whether the pigJob field is set. */ public boolean hasPigJob() { return jobTypeCase_ == 6; @@ -565,6 +599,8 @@ public boolean hasPigJob() { * * * .google.cloud.dataproc.v1.PigJob pig_job = 6; + * + * @return The pigJob. */ public com.google.cloud.dataproc.v1.PigJob getPigJob() { if (jobTypeCase_ == 6) { @@ -597,6 +633,8 @@ public com.google.cloud.dataproc.v1.PigJobOrBuilder getPigJobOrBuilder() { * * * .google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7; + * + * @return Whether the sparkSqlJob field is set. */ public boolean hasSparkSqlJob() { return jobTypeCase_ == 7; @@ -609,6 +647,8 @@ public boolean hasSparkSqlJob() { * * * .google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7; + * + * @return The sparkSqlJob. */ public com.google.cloud.dataproc.v1.SparkSqlJob getSparkSqlJob() { if (jobTypeCase_ == 7) { @@ -761,6 +801,8 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { * * .google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the scheduling field is set. */ public boolean hasScheduling() { return scheduling_ != null; @@ -775,6 +817,8 @@ public boolean hasScheduling() { * * .google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The scheduling. */ public com.google.cloud.dataproc.v1.JobScheduling getScheduling() { return scheduling_ == null @@ -808,6 +852,8 @@ public com.google.cloud.dataproc.v1.JobSchedulingOrBuilder getSchedulingOrBuilde * * repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return A list containing the prerequisiteStepIds. */ public com.google.protobuf.ProtocolStringList getPrerequisiteStepIdsList() { return prerequisiteStepIds_; @@ -822,6 +868,8 @@ public com.google.protobuf.ProtocolStringList getPrerequisiteStepIdsList() { * * repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The count of prerequisiteStepIds. */ public int getPrerequisiteStepIdsCount() { return prerequisiteStepIds_.size(); @@ -836,6 +884,9 @@ public int getPrerequisiteStepIdsCount() { * * repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the element to return. + * @return The prerequisiteStepIds at the given index. */ public java.lang.String getPrerequisiteStepIds(int index) { return prerequisiteStepIds_.get(index); @@ -850,6 +901,9 @@ public java.lang.String getPrerequisiteStepIds(int index) { * * repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the value to return. + * @return The bytes of the prerequisiteStepIds at the given index. */ public com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index) { return prerequisiteStepIds_.getByteString(index); @@ -1235,7 +1289,7 @@ public Builder clear() { schedulingBuilder_ = null; } prerequisiteStepIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000002); jobTypeCase_ = 0; jobType_ = null; return this; @@ -1266,7 +1320,6 @@ public com.google.cloud.dataproc.v1.OrderedJob buildPartial() { com.google.cloud.dataproc.v1.OrderedJob result = new com.google.cloud.dataproc.v1.OrderedJob(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.stepId_ = stepId_; if (jobTypeCase_ == 2) { if (hadoopJobBuilder_ == null) { @@ -1317,12 +1370,11 @@ public com.google.cloud.dataproc.v1.OrderedJob buildPartial() { } else { result.scheduling_ = schedulingBuilder_.build(); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { prerequisiteStepIds_ = prerequisiteStepIds_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000002); } result.prerequisiteStepIds_ = prerequisiteStepIds_; - result.bitField0_ = to_bitField0_; result.jobTypeCase_ = jobTypeCase_; onBuilt(); return result; @@ -1384,7 +1436,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.OrderedJob other) { if (!other.prerequisiteStepIds_.isEmpty()) { if (prerequisiteStepIds_.isEmpty()) { prerequisiteStepIds_ = other.prerequisiteStepIds_; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensurePrerequisiteStepIdsIsMutable(); prerequisiteStepIds_.addAll(other.prerequisiteStepIds_); @@ -1489,6 +1541,8 @@ public Builder clearJobType() { * * * string step_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The stepId. */ public java.lang.String getStepId() { java.lang.Object ref = stepId_; @@ -1517,6 +1571,8 @@ public java.lang.String getStepId() { * * * string step_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for stepId. */ public com.google.protobuf.ByteString getStepIdBytes() { java.lang.Object ref = stepId_; @@ -1545,6 +1601,9 @@ public com.google.protobuf.ByteString getStepIdBytes() { * * * string step_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The stepId to set. + * @return This builder for chaining. */ public Builder setStepId(java.lang.String value) { if (value == null) { @@ -1571,6 +1630,8 @@ public Builder setStepId(java.lang.String value) { * * * string step_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearStepId() { @@ -1594,6 +1655,9 @@ public Builder clearStepId() { * * * string step_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for stepId to set. + * @return This builder for chaining. */ public Builder setStepIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1619,6 +1683,8 @@ public Builder setStepIdBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dataproc.v1.HadoopJob hadoop_job = 2; + * + * @return Whether the hadoopJob field is set. */ public boolean hasHadoopJob() { return jobTypeCase_ == 2; @@ -1631,6 +1697,8 @@ public boolean hasHadoopJob() { * * * .google.cloud.dataproc.v1.HadoopJob hadoop_job = 2; + * + * @return The hadoopJob. */ public com.google.cloud.dataproc.v1.HadoopJob getHadoopJob() { if (hadoopJobBuilder_ == null) { @@ -1820,6 +1888,8 @@ public com.google.cloud.dataproc.v1.HadoopJobOrBuilder getHadoopJobOrBuilder() { * * * .google.cloud.dataproc.v1.SparkJob spark_job = 3; + * + * @return Whether the sparkJob field is set. */ public boolean hasSparkJob() { return jobTypeCase_ == 3; @@ -1832,6 +1902,8 @@ public boolean hasSparkJob() { * * * .google.cloud.dataproc.v1.SparkJob spark_job = 3; + * + * @return The sparkJob. */ public com.google.cloud.dataproc.v1.SparkJob getSparkJob() { if (sparkJobBuilder_ == null) { @@ -2021,6 +2093,8 @@ public com.google.cloud.dataproc.v1.SparkJobOrBuilder getSparkJobOrBuilder() { * * * .google.cloud.dataproc.v1.PySparkJob pyspark_job = 4; + * + * @return Whether the pysparkJob field is set. */ public boolean hasPysparkJob() { return jobTypeCase_ == 4; @@ -2033,6 +2107,8 @@ public boolean hasPysparkJob() { * * * .google.cloud.dataproc.v1.PySparkJob pyspark_job = 4; + * + * @return The pysparkJob. */ public com.google.cloud.dataproc.v1.PySparkJob getPysparkJob() { if (pysparkJobBuilder_ == null) { @@ -2222,6 +2298,8 @@ public com.google.cloud.dataproc.v1.PySparkJobOrBuilder getPysparkJobOrBuilder() * * * .google.cloud.dataproc.v1.HiveJob hive_job = 5; + * + * @return Whether the hiveJob field is set. */ public boolean hasHiveJob() { return jobTypeCase_ == 5; @@ -2234,6 +2312,8 @@ public boolean hasHiveJob() { * * * .google.cloud.dataproc.v1.HiveJob hive_job = 5; + * + * @return The hiveJob. */ public com.google.cloud.dataproc.v1.HiveJob getHiveJob() { if (hiveJobBuilder_ == null) { @@ -2421,6 +2501,8 @@ public com.google.cloud.dataproc.v1.HiveJobOrBuilder getHiveJobOrBuilder() { * * * .google.cloud.dataproc.v1.PigJob pig_job = 6; + * + * @return Whether the pigJob field is set. */ public boolean hasPigJob() { return jobTypeCase_ == 6; @@ -2433,6 +2515,8 @@ public boolean hasPigJob() { * * * .google.cloud.dataproc.v1.PigJob pig_job = 6; + * + * @return The pigJob. */ public com.google.cloud.dataproc.v1.PigJob getPigJob() { if (pigJobBuilder_ == null) { @@ -2620,6 +2704,8 @@ public com.google.cloud.dataproc.v1.PigJobOrBuilder getPigJobOrBuilder() { * * * .google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7; + * + * @return Whether the sparkSqlJob field is set. */ public boolean hasSparkSqlJob() { return jobTypeCase_ == 7; @@ -2632,6 +2718,8 @@ public boolean hasSparkSqlJob() { * * * .google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7; + * + * @return The sparkSqlJob. */ public com.google.cloud.dataproc.v1.SparkSqlJob getSparkSqlJob() { if (sparkSqlJobBuilder_ == null) { @@ -3019,6 +3107,8 @@ public Builder putAllLabels(java.util.Map va * * .google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the scheduling field is set. */ public boolean hasScheduling() { return schedulingBuilder_ != null || scheduling_ != null; @@ -3033,6 +3123,8 @@ public boolean hasScheduling() { * * .google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The scheduling. */ public com.google.cloud.dataproc.v1.JobScheduling getScheduling() { if (schedulingBuilder_ == null) { @@ -3207,9 +3299,9 @@ public com.google.cloud.dataproc.v1.JobSchedulingOrBuilder getSchedulingOrBuilde com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePrerequisiteStepIdsIsMutable() { - if (!((bitField0_ & 0x00000200) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { prerequisiteStepIds_ = new com.google.protobuf.LazyStringArrayList(prerequisiteStepIds_); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000002; } } /** @@ -3222,6 +3314,8 @@ private void ensurePrerequisiteStepIdsIsMutable() { * * repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return A list containing the prerequisiteStepIds. */ public com.google.protobuf.ProtocolStringList getPrerequisiteStepIdsList() { return prerequisiteStepIds_.getUnmodifiableView(); @@ -3236,6 +3330,8 @@ public com.google.protobuf.ProtocolStringList getPrerequisiteStepIdsList() { * * repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The count of prerequisiteStepIds. */ public int getPrerequisiteStepIdsCount() { return prerequisiteStepIds_.size(); @@ -3250,6 +3346,9 @@ public int getPrerequisiteStepIdsCount() { * * repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the element to return. + * @return The prerequisiteStepIds at the given index. */ public java.lang.String getPrerequisiteStepIds(int index) { return prerequisiteStepIds_.get(index); @@ -3264,6 +3363,9 @@ public java.lang.String getPrerequisiteStepIds(int index) { * * repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the value to return. + * @return The bytes of the prerequisiteStepIds at the given index. */ public com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index) { return prerequisiteStepIds_.getByteString(index); @@ -3278,6 +3380,10 @@ public com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index) { * * repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index to set the value at. + * @param value The prerequisiteStepIds to set. + * @return This builder for chaining. */ public Builder setPrerequisiteStepIds(int index, java.lang.String value) { if (value == null) { @@ -3298,6 +3404,9 @@ public Builder setPrerequisiteStepIds(int index, java.lang.String value) { * * repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The prerequisiteStepIds to add. + * @return This builder for chaining. */ public Builder addPrerequisiteStepIds(java.lang.String value) { if (value == null) { @@ -3318,6 +3427,9 @@ public Builder addPrerequisiteStepIds(java.lang.String value) { * * repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param values The prerequisiteStepIds to add. + * @return This builder for chaining. */ public Builder addAllPrerequisiteStepIds(java.lang.Iterable values) { ensurePrerequisiteStepIdsIsMutable(); @@ -3335,10 +3447,12 @@ public Builder addAllPrerequisiteStepIds(java.lang.Iterable va * * repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearPrerequisiteStepIds() { prerequisiteStepIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -3352,6 +3466,9 @@ public Builder clearPrerequisiteStepIds() { * * repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The bytes of the prerequisiteStepIds to add. + * @return This builder for chaining. */ public Builder addPrerequisiteStepIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OrderedJobOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OrderedJobOrBuilder.java index 84bbc24a..6f02035c 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OrderedJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OrderedJobOrBuilder.java @@ -39,6 +39,8 @@ public interface OrderedJobOrBuilder * * * string step_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The stepId. */ java.lang.String getStepId(); /** @@ -57,6 +59,8 @@ public interface OrderedJobOrBuilder * * * string step_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for stepId. */ com.google.protobuf.ByteString getStepIdBytes(); @@ -68,6 +72,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1.HadoopJob hadoop_job = 2; + * + * @return Whether the hadoopJob field is set. */ boolean hasHadoopJob(); /** @@ -78,6 +84,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1.HadoopJob hadoop_job = 2; + * + * @return The hadoopJob. */ com.google.cloud.dataproc.v1.HadoopJob getHadoopJob(); /** @@ -99,6 +107,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1.SparkJob spark_job = 3; + * + * @return Whether the sparkJob field is set. */ boolean hasSparkJob(); /** @@ -109,6 +119,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1.SparkJob spark_job = 3; + * + * @return The sparkJob. */ com.google.cloud.dataproc.v1.SparkJob getSparkJob(); /** @@ -130,6 +142,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1.PySparkJob pyspark_job = 4; + * + * @return Whether the pysparkJob field is set. */ boolean hasPysparkJob(); /** @@ -140,6 +154,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1.PySparkJob pyspark_job = 4; + * + * @return The pysparkJob. */ com.google.cloud.dataproc.v1.PySparkJob getPysparkJob(); /** @@ -161,6 +177,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1.HiveJob hive_job = 5; + * + * @return Whether the hiveJob field is set. */ boolean hasHiveJob(); /** @@ -171,6 +189,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1.HiveJob hive_job = 5; + * + * @return The hiveJob. */ com.google.cloud.dataproc.v1.HiveJob getHiveJob(); /** @@ -192,6 +212,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1.PigJob pig_job = 6; + * + * @return Whether the pigJob field is set. */ boolean hasPigJob(); /** @@ -202,6 +224,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1.PigJob pig_job = 6; + * + * @return The pigJob. */ com.google.cloud.dataproc.v1.PigJob getPigJob(); /** @@ -223,6 +247,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7; + * + * @return Whether the sparkSqlJob field is set. */ boolean hasSparkSqlJob(); /** @@ -233,6 +259,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7; + * + * @return The sparkSqlJob. */ com.google.cloud.dataproc.v1.SparkSqlJob getSparkSqlJob(); /** @@ -340,6 +368,8 @@ public interface OrderedJobOrBuilder * * .google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the scheduling field is set. */ boolean hasScheduling(); /** @@ -352,6 +382,8 @@ public interface OrderedJobOrBuilder * * .google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The scheduling. */ com.google.cloud.dataproc.v1.JobScheduling getScheduling(); /** @@ -377,6 +409,8 @@ public interface OrderedJobOrBuilder * * repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return A list containing the prerequisiteStepIds. */ java.util.List getPrerequisiteStepIdsList(); /** @@ -389,6 +423,8 @@ public interface OrderedJobOrBuilder * * repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The count of prerequisiteStepIds. */ int getPrerequisiteStepIdsCount(); /** @@ -401,6 +437,9 @@ public interface OrderedJobOrBuilder * * repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the element to return. + * @return The prerequisiteStepIds at the given index. */ java.lang.String getPrerequisiteStepIds(int index); /** @@ -413,6 +452,9 @@ public interface OrderedJobOrBuilder * * repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the value to return. + * @return The bytes of the prerequisiteStepIds at the given index. */ com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index); diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ParameterValidation.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ParameterValidation.java index f561d6ac..1b57e4d1 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ParameterValidation.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ParameterValidation.java @@ -39,6 +39,12 @@ private ParameterValidation(com.google.protobuf.GeneratedMessageV3.Builder bu private ParameterValidation() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ParameterValidation(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private ParameterValidation( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -136,7 +141,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int validationTypeCase_ = 0; private java.lang.Object validationType_; - public enum ValidationTypeCase implements com.google.protobuf.Internal.EnumLite { + public enum ValidationTypeCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { REGEX(1), VALUES(2), VALIDATIONTYPE_NOT_SET(0); @@ -145,7 +153,11 @@ public enum ValidationTypeCase implements com.google.protobuf.Internal.EnumLite private ValidationTypeCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static ValidationTypeCase valueOf(int value) { return forNumber(value); @@ -182,6 +194,8 @@ public ValidationTypeCase getValidationTypeCase() { * * * .google.cloud.dataproc.v1.RegexValidation regex = 1; + * + * @return Whether the regex field is set. */ public boolean hasRegex() { return validationTypeCase_ == 1; @@ -194,6 +208,8 @@ public boolean hasRegex() { * * * .google.cloud.dataproc.v1.RegexValidation regex = 1; + * + * @return The regex. */ public com.google.cloud.dataproc.v1.RegexValidation getRegex() { if (validationTypeCase_ == 1) { @@ -226,6 +242,8 @@ public com.google.cloud.dataproc.v1.RegexValidationOrBuilder getRegexOrBuilder() * * * .google.cloud.dataproc.v1.ValueValidation values = 2; + * + * @return Whether the values field is set. */ public boolean hasValues() { return validationTypeCase_ == 2; @@ -238,6 +256,8 @@ public boolean hasValues() { * * * .google.cloud.dataproc.v1.ValueValidation values = 2; + * + * @return The values. */ public com.google.cloud.dataproc.v1.ValueValidation getValues() { if (validationTypeCase_ == 2) { @@ -661,6 +681,8 @@ public Builder clearValidationType() { * * * .google.cloud.dataproc.v1.RegexValidation regex = 1; + * + * @return Whether the regex field is set. */ public boolean hasRegex() { return validationTypeCase_ == 1; @@ -673,6 +695,8 @@ public boolean hasRegex() { * * * .google.cloud.dataproc.v1.RegexValidation regex = 1; + * + * @return The regex. */ public com.google.cloud.dataproc.v1.RegexValidation getRegex() { if (regexBuilder_ == null) { @@ -863,6 +887,8 @@ public com.google.cloud.dataproc.v1.RegexValidationOrBuilder getRegexOrBuilder() * * * .google.cloud.dataproc.v1.ValueValidation values = 2; + * + * @return Whether the values field is set. */ public boolean hasValues() { return validationTypeCase_ == 2; @@ -875,6 +901,8 @@ public boolean hasValues() { * * * .google.cloud.dataproc.v1.ValueValidation values = 2; + * + * @return The values. */ public com.google.cloud.dataproc.v1.ValueValidation getValues() { if (valuesBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ParameterValidationOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ParameterValidationOrBuilder.java index 8d2eca50..ae2c2c3c 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ParameterValidationOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ParameterValidationOrBuilder.java @@ -31,6 +31,8 @@ public interface ParameterValidationOrBuilder * * * .google.cloud.dataproc.v1.RegexValidation regex = 1; + * + * @return Whether the regex field is set. */ boolean hasRegex(); /** @@ -41,6 +43,8 @@ public interface ParameterValidationOrBuilder * * * .google.cloud.dataproc.v1.RegexValidation regex = 1; + * + * @return The regex. */ com.google.cloud.dataproc.v1.RegexValidation getRegex(); /** @@ -62,6 +66,8 @@ public interface ParameterValidationOrBuilder * * * .google.cloud.dataproc.v1.ValueValidation values = 2; + * + * @return Whether the values field is set. */ boolean hasValues(); /** @@ -72,6 +78,8 @@ public interface ParameterValidationOrBuilder * * * .google.cloud.dataproc.v1.ValueValidation values = 2; + * + * @return The values. */ com.google.cloud.dataproc.v1.ValueValidation getValues(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJob.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJob.java index a11d9808..3d3c70e7 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJob.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJob.java @@ -42,6 +42,12 @@ private PigJob() { jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PigJob(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -96,11 +102,11 @@ private PigJob( } case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { scriptVariables_ = com.google.protobuf.MapField.newMapField( ScriptVariablesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry scriptVariables__ = input.readMessage( @@ -113,11 +119,11 @@ private PigJob( } case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry properties__ = input.readMessage( @@ -129,9 +135,9 @@ private PigJob( case 50: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { jarFileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000004; } jarFileUris_.add(s); break; @@ -166,7 +172,7 @@ private PigJob( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000020) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -202,11 +208,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1.PigJob.Builder.class); } - private int bitField0_; private int queriesCase_ = 0; private java.lang.Object queries_; - public enum QueriesCase implements com.google.protobuf.Internal.EnumLite { + public enum QueriesCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { QUERY_FILE_URI(1), QUERY_LIST(2), QUERIES_NOT_SET(0); @@ -215,7 +223,11 @@ public enum QueriesCase implements com.google.protobuf.Internal.EnumLite { private QueriesCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static QueriesCase valueOf(int value) { return forNumber(value); @@ -252,6 +264,8 @@ public QueriesCase getQueriesCase() { * * * string query_file_uri = 1; + * + * @return The queryFileUri. */ public java.lang.String getQueryFileUri() { java.lang.Object ref = ""; @@ -277,6 +291,8 @@ public java.lang.String getQueryFileUri() { * * * string query_file_uri = 1; + * + * @return The bytes for queryFileUri. */ public com.google.protobuf.ByteString getQueryFileUriBytes() { java.lang.Object ref = ""; @@ -304,6 +320,8 @@ public com.google.protobuf.ByteString getQueryFileUriBytes() { * * * .google.cloud.dataproc.v1.QueryList query_list = 2; + * + * @return Whether the queryList field is set. */ public boolean hasQueryList() { return queriesCase_ == 2; @@ -316,6 +334,8 @@ public boolean hasQueryList() { * * * .google.cloud.dataproc.v1.QueryList query_list = 2; + * + * @return The queryList. */ public com.google.cloud.dataproc.v1.QueryList getQueryList() { if (queriesCase_ == 2) { @@ -351,6 +371,8 @@ public com.google.cloud.dataproc.v1.QueryListOrBuilder getQueryListOrBuilder() { * * * bool continue_on_failure = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The continueOnFailure. */ public boolean getContinueOnFailure() { return continueOnFailure_; @@ -581,6 +603,8 @@ public java.lang.String getPropertiesOrThrow(java.lang.String key) { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_; @@ -594,6 +618,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -607,6 +633,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -620,6 +649,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -637,6 +669,8 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfig_ != null; @@ -651,6 +685,8 @@ public boolean hasLoggingConfig() { * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1.LoggingConfig getLoggingConfig() { return loggingConfig_ == null @@ -1005,7 +1041,7 @@ public Builder clear() { internalGetMutableScriptVariables().clear(); internalGetMutableProperties().clear(); jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000004); if (loggingConfigBuilder_ == null) { loggingConfig_ = null; } else { @@ -1041,7 +1077,6 @@ public com.google.cloud.dataproc.v1.PigJob build() { public com.google.cloud.dataproc.v1.PigJob buildPartial() { com.google.cloud.dataproc.v1.PigJob result = new com.google.cloud.dataproc.v1.PigJob(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (queriesCase_ == 1) { result.queries_ = queries_; } @@ -1057,9 +1092,9 @@ public com.google.cloud.dataproc.v1.PigJob buildPartial() { result.scriptVariables_.makeImmutable(); result.properties_ = internalGetProperties(); result.properties_.makeImmutable(); - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000004); } result.jarFileUris_ = jarFileUris_; if (loggingConfigBuilder_ == null) { @@ -1067,7 +1102,6 @@ public com.google.cloud.dataproc.v1.PigJob buildPartial() { } else { result.loggingConfig_ = loggingConfigBuilder_.build(); } - result.bitField0_ = to_bitField0_; result.queriesCase_ = queriesCase_; onBuilt(); return result; @@ -1126,7 +1160,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.PigJob other) { if (!other.jarFileUris_.isEmpty()) { if (jarFileUris_.isEmpty()) { jarFileUris_ = other.jarFileUris_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureJarFileUrisIsMutable(); jarFileUris_.addAll(other.jarFileUris_); @@ -1207,6 +1241,8 @@ public Builder clearQueries() { * * * string query_file_uri = 1; + * + * @return The queryFileUri. */ public java.lang.String getQueryFileUri() { java.lang.Object ref = ""; @@ -1232,6 +1268,8 @@ public java.lang.String getQueryFileUri() { * * * string query_file_uri = 1; + * + * @return The bytes for queryFileUri. */ public com.google.protobuf.ByteString getQueryFileUriBytes() { java.lang.Object ref = ""; @@ -1257,6 +1295,9 @@ public com.google.protobuf.ByteString getQueryFileUriBytes() { * * * string query_file_uri = 1; + * + * @param value The queryFileUri to set. + * @return This builder for chaining. */ public Builder setQueryFileUri(java.lang.String value) { if (value == null) { @@ -1275,6 +1316,8 @@ public Builder setQueryFileUri(java.lang.String value) { * * * string query_file_uri = 1; + * + * @return This builder for chaining. */ public Builder clearQueryFileUri() { if (queriesCase_ == 1) { @@ -1292,6 +1335,9 @@ public Builder clearQueryFileUri() { * * * string query_file_uri = 1; + * + * @param value The bytes for queryFileUri to set. + * @return This builder for chaining. */ public Builder setQueryFileUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1317,6 +1363,8 @@ public Builder setQueryFileUriBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dataproc.v1.QueryList query_list = 2; + * + * @return Whether the queryList field is set. */ public boolean hasQueryList() { return queriesCase_ == 2; @@ -1329,6 +1377,8 @@ public boolean hasQueryList() { * * * .google.cloud.dataproc.v1.QueryList query_list = 2; + * + * @return The queryList. */ public com.google.cloud.dataproc.v1.QueryList getQueryList() { if (queryListBuilder_ == null) { @@ -1516,6 +1566,8 @@ public com.google.cloud.dataproc.v1.QueryListOrBuilder getQueryListOrBuilder() { * * * bool continue_on_failure = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The continueOnFailure. */ public boolean getContinueOnFailure() { return continueOnFailure_; @@ -1530,6 +1582,9 @@ public boolean getContinueOnFailure() { * * * bool continue_on_failure = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The continueOnFailure to set. + * @return This builder for chaining. */ public Builder setContinueOnFailure(boolean value) { @@ -1547,6 +1602,8 @@ public Builder setContinueOnFailure(boolean value) { * * * bool continue_on_failure = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearContinueOnFailure() { @@ -1919,9 +1976,9 @@ public Builder putAllProperties(java.util.Map * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_.getUnmodifiableView(); @@ -1946,6 +2005,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -1959,6 +2020,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -1972,6 +2036,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -1985,6 +2052,10 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The jarFileUris to set. + * @return This builder for chaining. */ public Builder setJarFileUris(int index, java.lang.String value) { if (value == null) { @@ -2004,6 +2075,9 @@ public Builder setJarFileUris(int index, java.lang.String value) { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUris(java.lang.String value) { if (value == null) { @@ -2023,6 +2097,9 @@ public Builder addJarFileUris(java.lang.String value) { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The jarFileUris to add. + * @return This builder for chaining. */ public Builder addAllJarFileUris(java.lang.Iterable values) { ensureJarFileUrisIsMutable(); @@ -2039,10 +2116,12 @@ public Builder addAllJarFileUris(java.lang.Iterable values) { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearJarFileUris() { jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -2055,6 +2134,9 @@ public Builder clearJarFileUris() { * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2083,6 +2165,8 @@ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; @@ -2097,6 +2181,8 @@ public boolean hasLoggingConfig() { * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJobOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJobOrBuilder.java index 79a73979..3d9517b6 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJobOrBuilder.java @@ -31,6 +31,8 @@ public interface PigJobOrBuilder * * * string query_file_uri = 1; + * + * @return The queryFileUri. */ java.lang.String getQueryFileUri(); /** @@ -41,6 +43,8 @@ public interface PigJobOrBuilder * * * string query_file_uri = 1; + * + * @return The bytes for queryFileUri. */ com.google.protobuf.ByteString getQueryFileUriBytes(); @@ -52,6 +56,8 @@ public interface PigJobOrBuilder * * * .google.cloud.dataproc.v1.QueryList query_list = 2; + * + * @return Whether the queryList field is set. */ boolean hasQueryList(); /** @@ -62,6 +68,8 @@ public interface PigJobOrBuilder * * * .google.cloud.dataproc.v1.QueryList query_list = 2; + * + * @return The queryList. */ com.google.cloud.dataproc.v1.QueryList getQueryList(); /** @@ -85,6 +93,8 @@ public interface PigJobOrBuilder * * * bool continue_on_failure = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The continueOnFailure. */ boolean getContinueOnFailure(); @@ -235,6 +245,8 @@ public interface PigJobOrBuilder * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the jarFileUris. */ java.util.List getJarFileUrisList(); /** @@ -246,6 +258,8 @@ public interface PigJobOrBuilder * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of jarFileUris. */ int getJarFileUrisCount(); /** @@ -257,6 +271,9 @@ public interface PigJobOrBuilder * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ java.lang.String getJarFileUris(int index); /** @@ -268,6 +285,9 @@ public interface PigJobOrBuilder * * * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ com.google.protobuf.ByteString getJarFileUrisBytes(int index); @@ -281,6 +301,8 @@ public interface PigJobOrBuilder * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** @@ -293,6 +315,8 @@ public interface PigJobOrBuilder * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The loggingConfig. */ com.google.cloud.dataproc.v1.LoggingConfig getLoggingConfig(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PySparkJob.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PySparkJob.java index ddfc73cf..c503994f 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PySparkJob.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PySparkJob.java @@ -49,6 +49,12 @@ private PySparkJob() { archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PySparkJob(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -83,9 +89,9 @@ private PySparkJob( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } args_.add(s); break; @@ -93,9 +99,9 @@ private PySparkJob( case 26: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { pythonFileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000002; } pythonFileUris_.add(s); break; @@ -103,9 +109,9 @@ private PySparkJob( case 34: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { jarFileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000004; } jarFileUris_.add(s); break; @@ -113,9 +119,9 @@ private PySparkJob( case 42: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { fileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000008; } fileUris_.add(s); break; @@ -123,20 +129,20 @@ private PySparkJob( case 50: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { archiveUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000010; } archiveUris_.add(s); break; } case 58: { - if (!((mutable_bitField0_ & 0x00000040) != 0)) { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000040; + mutable_bitField0_ |= 0x00000020; } com.google.protobuf.MapEntry properties__ = input.readMessage( @@ -175,19 +181,19 @@ private PySparkJob( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000004) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { pythonFileUris_ = pythonFileUris_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000008) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000010) != 0)) { + if (((mutable_bitField0_ & 0x00000008) != 0)) { fileUris_ = fileUris_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000020) != 0)) { + if (((mutable_bitField0_ & 0x00000010) != 0)) { archiveUris_ = archiveUris_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -221,7 +227,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1.PySparkJob.Builder.class); } - private int bitField0_; public static final int MAIN_PYTHON_FILE_URI_FIELD_NUMBER = 1; private volatile java.lang.Object mainPythonFileUri_; /** @@ -233,6 +238,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The mainPythonFileUri. */ public java.lang.String getMainPythonFileUri() { java.lang.Object ref = mainPythonFileUri_; @@ -254,6 +261,8 @@ public java.lang.String getMainPythonFileUri() { * * * string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for mainPythonFileUri. */ public com.google.protobuf.ByteString getMainPythonFileUriBytes() { java.lang.Object ref = mainPythonFileUri_; @@ -279,6 +288,8 @@ public com.google.protobuf.ByteString getMainPythonFileUriBytes() { * * * repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the args. */ public com.google.protobuf.ProtocolStringList getArgsList() { return args_; @@ -293,6 +304,8 @@ public com.google.protobuf.ProtocolStringList getArgsList() { * * * repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of args. */ public int getArgsCount() { return args_.size(); @@ -307,6 +320,9 @@ public int getArgsCount() { * * * repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The args at the given index. */ public java.lang.String getArgs(int index) { return args_.get(index); @@ -321,6 +337,9 @@ public java.lang.String getArgs(int index) { * * * repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); @@ -337,6 +356,8 @@ public com.google.protobuf.ByteString getArgsBytes(int index) { * * * repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the pythonFileUris. */ public com.google.protobuf.ProtocolStringList getPythonFileUrisList() { return pythonFileUris_; @@ -350,6 +371,8 @@ public com.google.protobuf.ProtocolStringList getPythonFileUrisList() { * * * repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of pythonFileUris. */ public int getPythonFileUrisCount() { return pythonFileUris_.size(); @@ -363,6 +386,9 @@ public int getPythonFileUrisCount() { * * * repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The pythonFileUris at the given index. */ public java.lang.String getPythonFileUris(int index) { return pythonFileUris_.get(index); @@ -376,6 +402,9 @@ public java.lang.String getPythonFileUris(int index) { * * * repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the pythonFileUris at the given index. */ public com.google.protobuf.ByteString getPythonFileUrisBytes(int index) { return pythonFileUris_.getByteString(index); @@ -392,6 +421,8 @@ public com.google.protobuf.ByteString getPythonFileUrisBytes(int index) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_; @@ -405,6 +436,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -418,6 +451,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -431,6 +467,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -447,6 +486,8 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the fileUris. */ public com.google.protobuf.ProtocolStringList getFileUrisList() { return fileUris_; @@ -460,6 +501,8 @@ public com.google.protobuf.ProtocolStringList getFileUrisList() { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); @@ -473,6 +516,9 @@ public int getFileUrisCount() { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ public java.lang.String getFileUris(int index) { return fileUris_.get(index); @@ -486,6 +532,9 @@ public java.lang.String getFileUris(int index) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ public com.google.protobuf.ByteString getFileUrisBytes(int index) { return fileUris_.getByteString(index); @@ -502,6 +551,8 @@ public com.google.protobuf.ByteString getFileUrisBytes(int index) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the archiveUris. */ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { return archiveUris_; @@ -515,6 +566,8 @@ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); @@ -528,6 +581,9 @@ public int getArchiveUrisCount() { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); @@ -541,6 +597,9 @@ public java.lang.String getArchiveUris(int index) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); @@ -668,6 +727,8 @@ public java.lang.String getPropertiesOrThrow(java.lang.String key) { * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfig_ != null; @@ -682,6 +743,8 @@ public boolean hasLoggingConfig() { * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1.LoggingConfig getLoggingConfig() { return loggingConfig_ == null @@ -1043,15 +1106,15 @@ public Builder clear() { mainPythonFileUri_ = ""; args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); pythonFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); fileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); internalGetMutableProperties().clear(); if (loggingConfigBuilder_ == null) { loggingConfig_ = null; @@ -1087,31 +1150,30 @@ public com.google.cloud.dataproc.v1.PySparkJob buildPartial() { com.google.cloud.dataproc.v1.PySparkJob result = new com.google.cloud.dataproc.v1.PySparkJob(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.mainPythonFileUri_ = mainPythonFileUri_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.args_ = args_; - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { pythonFileUris_ = pythonFileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); } result.pythonFileUris_ = pythonFileUris_; - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); } result.jarFileUris_ = jarFileUris_; - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { fileUris_ = fileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); } result.fileUris_ = fileUris_; - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { archiveUris_ = archiveUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); } result.archiveUris_ = archiveUris_; result.properties_ = internalGetProperties(); @@ -1121,7 +1183,6 @@ public com.google.cloud.dataproc.v1.PySparkJob buildPartial() { } else { result.loggingConfig_ = loggingConfigBuilder_.build(); } - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1178,7 +1239,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.PySparkJob other) { if (!other.args_.isEmpty()) { if (args_.isEmpty()) { args_ = other.args_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureArgsIsMutable(); args_.addAll(other.args_); @@ -1188,7 +1249,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.PySparkJob other) { if (!other.pythonFileUris_.isEmpty()) { if (pythonFileUris_.isEmpty()) { pythonFileUris_ = other.pythonFileUris_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensurePythonFileUrisIsMutable(); pythonFileUris_.addAll(other.pythonFileUris_); @@ -1198,7 +1259,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.PySparkJob other) { if (!other.jarFileUris_.isEmpty()) { if (jarFileUris_.isEmpty()) { jarFileUris_ = other.jarFileUris_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureJarFileUrisIsMutable(); jarFileUris_.addAll(other.jarFileUris_); @@ -1208,7 +1269,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.PySparkJob other) { if (!other.fileUris_.isEmpty()) { if (fileUris_.isEmpty()) { fileUris_ = other.fileUris_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); } else { ensureFileUrisIsMutable(); fileUris_.addAll(other.fileUris_); @@ -1218,7 +1279,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.PySparkJob other) { if (!other.archiveUris_.isEmpty()) { if (archiveUris_.isEmpty()) { archiveUris_ = other.archiveUris_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); } else { ensureArchiveUrisIsMutable(); archiveUris_.addAll(other.archiveUris_); @@ -1270,6 +1331,8 @@ public Builder mergeFrom( * * * string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The mainPythonFileUri. */ public java.lang.String getMainPythonFileUri() { java.lang.Object ref = mainPythonFileUri_; @@ -1291,6 +1354,8 @@ public java.lang.String getMainPythonFileUri() { * * * string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for mainPythonFileUri. */ public com.google.protobuf.ByteString getMainPythonFileUriBytes() { java.lang.Object ref = mainPythonFileUri_; @@ -1312,6 +1377,9 @@ public com.google.protobuf.ByteString getMainPythonFileUriBytes() { * * * string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The mainPythonFileUri to set. + * @return This builder for chaining. */ public Builder setMainPythonFileUri(java.lang.String value) { if (value == null) { @@ -1331,6 +1399,8 @@ public Builder setMainPythonFileUri(java.lang.String value) { * * * string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearMainPythonFileUri() { @@ -1347,6 +1417,9 @@ public Builder clearMainPythonFileUri() { * * * string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for mainPythonFileUri to set. + * @return This builder for chaining. */ public Builder setMainPythonFileUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1363,9 +1436,9 @@ public Builder setMainPythonFileUriBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArgsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(args_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** @@ -1378,6 +1451,8 @@ private void ensureArgsIsMutable() { * * * repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the args. */ public com.google.protobuf.ProtocolStringList getArgsList() { return args_.getUnmodifiableView(); @@ -1392,6 +1467,8 @@ public com.google.protobuf.ProtocolStringList getArgsList() { * * * repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of args. */ public int getArgsCount() { return args_.size(); @@ -1406,6 +1483,9 @@ public int getArgsCount() { * * * repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The args at the given index. */ public java.lang.String getArgs(int index) { return args_.get(index); @@ -1420,6 +1500,9 @@ public java.lang.String getArgs(int index) { * * * repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); @@ -1434,6 +1517,10 @@ public com.google.protobuf.ByteString getArgsBytes(int index) { * * * repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The args to set. + * @return This builder for chaining. */ public Builder setArgs(int index, java.lang.String value) { if (value == null) { @@ -1454,6 +1541,9 @@ public Builder setArgs(int index, java.lang.String value) { * * * repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The args to add. + * @return This builder for chaining. */ public Builder addArgs(java.lang.String value) { if (value == null) { @@ -1474,6 +1564,9 @@ public Builder addArgs(java.lang.String value) { * * * repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The args to add. + * @return This builder for chaining. */ public Builder addAllArgs(java.lang.Iterable values) { ensureArgsIsMutable(); @@ -1491,10 +1584,12 @@ public Builder addAllArgs(java.lang.Iterable values) { * * * repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearArgs() { args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1508,6 +1603,9 @@ public Builder clearArgs() { * * * repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the args to add. + * @return This builder for chaining. */ public Builder addArgsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1524,9 +1622,9 @@ public Builder addArgsBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePythonFileUrisIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { pythonFileUris_ = new com.google.protobuf.LazyStringArrayList(pythonFileUris_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; } } /** @@ -1538,6 +1636,8 @@ private void ensurePythonFileUrisIsMutable() { * * * repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the pythonFileUris. */ public com.google.protobuf.ProtocolStringList getPythonFileUrisList() { return pythonFileUris_.getUnmodifiableView(); @@ -1551,6 +1651,8 @@ public com.google.protobuf.ProtocolStringList getPythonFileUrisList() { * * * repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of pythonFileUris. */ public int getPythonFileUrisCount() { return pythonFileUris_.size(); @@ -1564,6 +1666,9 @@ public int getPythonFileUrisCount() { * * * repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The pythonFileUris at the given index. */ public java.lang.String getPythonFileUris(int index) { return pythonFileUris_.get(index); @@ -1577,6 +1682,9 @@ public java.lang.String getPythonFileUris(int index) { * * * repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the pythonFileUris at the given index. */ public com.google.protobuf.ByteString getPythonFileUrisBytes(int index) { return pythonFileUris_.getByteString(index); @@ -1590,6 +1698,10 @@ public com.google.protobuf.ByteString getPythonFileUrisBytes(int index) { * * * repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The pythonFileUris to set. + * @return This builder for chaining. */ public Builder setPythonFileUris(int index, java.lang.String value) { if (value == null) { @@ -1609,6 +1721,9 @@ public Builder setPythonFileUris(int index, java.lang.String value) { * * * repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pythonFileUris to add. + * @return This builder for chaining. */ public Builder addPythonFileUris(java.lang.String value) { if (value == null) { @@ -1628,6 +1743,9 @@ public Builder addPythonFileUris(java.lang.String value) { * * * repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The pythonFileUris to add. + * @return This builder for chaining. */ public Builder addAllPythonFileUris(java.lang.Iterable values) { ensurePythonFileUrisIsMutable(); @@ -1644,10 +1762,12 @@ public Builder addAllPythonFileUris(java.lang.Iterable values) * * * repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearPythonFileUris() { pythonFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -1660,6 +1780,9 @@ public Builder clearPythonFileUris() { * * * repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the pythonFileUris to add. + * @return This builder for chaining. */ public Builder addPythonFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1676,9 +1799,9 @@ public Builder addPythonFileUrisBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureJarFileUrisIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000004) != 0)) { jarFileUris_ = new com.google.protobuf.LazyStringArrayList(jarFileUris_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; } } /** @@ -1690,6 +1813,8 @@ private void ensureJarFileUrisIsMutable() { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_.getUnmodifiableView(); @@ -1703,6 +1828,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -1716,6 +1843,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -1729,6 +1859,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -1742,6 +1875,10 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The jarFileUris to set. + * @return This builder for chaining. */ public Builder setJarFileUris(int index, java.lang.String value) { if (value == null) { @@ -1761,6 +1898,9 @@ public Builder setJarFileUris(int index, java.lang.String value) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUris(java.lang.String value) { if (value == null) { @@ -1780,6 +1920,9 @@ public Builder addJarFileUris(java.lang.String value) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The jarFileUris to add. + * @return This builder for chaining. */ public Builder addAllJarFileUris(java.lang.Iterable values) { ensureJarFileUrisIsMutable(); @@ -1796,10 +1939,12 @@ public Builder addAllJarFileUris(java.lang.Iterable values) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearJarFileUris() { jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -1812,6 +1957,9 @@ public Builder clearJarFileUris() { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1828,9 +1976,9 @@ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFileUrisIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { + if (!((bitField0_ & 0x00000008) != 0)) { fileUris_ = new com.google.protobuf.LazyStringArrayList(fileUris_); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000008; } } /** @@ -1842,6 +1990,8 @@ private void ensureFileUrisIsMutable() { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the fileUris. */ public com.google.protobuf.ProtocolStringList getFileUrisList() { return fileUris_.getUnmodifiableView(); @@ -1855,6 +2005,8 @@ public com.google.protobuf.ProtocolStringList getFileUrisList() { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); @@ -1868,6 +2020,9 @@ public int getFileUrisCount() { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ public java.lang.String getFileUris(int index) { return fileUris_.get(index); @@ -1881,6 +2036,9 @@ public java.lang.String getFileUris(int index) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ public com.google.protobuf.ByteString getFileUrisBytes(int index) { return fileUris_.getByteString(index); @@ -1894,6 +2052,10 @@ public com.google.protobuf.ByteString getFileUrisBytes(int index) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The fileUris to set. + * @return This builder for chaining. */ public Builder setFileUris(int index, java.lang.String value) { if (value == null) { @@ -1913,6 +2075,9 @@ public Builder setFileUris(int index, java.lang.String value) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The fileUris to add. + * @return This builder for chaining. */ public Builder addFileUris(java.lang.String value) { if (value == null) { @@ -1932,6 +2097,9 @@ public Builder addFileUris(java.lang.String value) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The fileUris to add. + * @return This builder for chaining. */ public Builder addAllFileUris(java.lang.Iterable values) { ensureFileUrisIsMutable(); @@ -1948,10 +2116,12 @@ public Builder addAllFileUris(java.lang.Iterable values) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearFileUris() { fileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -1964,6 +2134,9 @@ public Builder clearFileUris() { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the fileUris to add. + * @return This builder for chaining. */ public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1980,9 +2153,9 @@ public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArchiveUrisIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { + if (!((bitField0_ & 0x00000010) != 0)) { archiveUris_ = new com.google.protobuf.LazyStringArrayList(archiveUris_); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000010; } } /** @@ -1994,6 +2167,8 @@ private void ensureArchiveUrisIsMutable() { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the archiveUris. */ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { return archiveUris_.getUnmodifiableView(); @@ -2007,6 +2182,8 @@ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); @@ -2020,6 +2197,9 @@ public int getArchiveUrisCount() { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); @@ -2033,6 +2213,9 @@ public java.lang.String getArchiveUris(int index) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); @@ -2046,6 +2229,10 @@ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The archiveUris to set. + * @return This builder for chaining. */ public Builder setArchiveUris(int index, java.lang.String value) { if (value == null) { @@ -2065,6 +2252,9 @@ public Builder setArchiveUris(int index, java.lang.String value) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The archiveUris to add. + * @return This builder for chaining. */ public Builder addArchiveUris(java.lang.String value) { if (value == null) { @@ -2084,6 +2274,9 @@ public Builder addArchiveUris(java.lang.String value) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The archiveUris to add. + * @return This builder for chaining. */ public Builder addAllArchiveUris(java.lang.Iterable values) { ensureArchiveUrisIsMutable(); @@ -2100,10 +2293,12 @@ public Builder addAllArchiveUris(java.lang.Iterable values) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearArchiveUris() { archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } @@ -2116,6 +2311,9 @@ public Builder clearArchiveUris() { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the archiveUris to add. + * @return This builder for chaining. */ public Builder addArchiveUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2327,6 +2525,8 @@ public Builder putAllProperties(java.util.Map * .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; @@ -2341,6 +2541,8 @@ public boolean hasLoggingConfig() { * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PySparkJobOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PySparkJobOrBuilder.java index 705d45cb..e016d502 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PySparkJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PySparkJobOrBuilder.java @@ -32,6 +32,8 @@ public interface PySparkJobOrBuilder * * * string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The mainPythonFileUri. */ java.lang.String getMainPythonFileUri(); /** @@ -43,6 +45,8 @@ public interface PySparkJobOrBuilder * * * string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for mainPythonFileUri. */ com.google.protobuf.ByteString getMainPythonFileUriBytes(); @@ -56,6 +60,8 @@ public interface PySparkJobOrBuilder * * * repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the args. */ java.util.List getArgsList(); /** @@ -68,6 +74,8 @@ public interface PySparkJobOrBuilder * * * repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of args. */ int getArgsCount(); /** @@ -80,6 +88,9 @@ public interface PySparkJobOrBuilder * * * repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The args at the given index. */ java.lang.String getArgs(int index); /** @@ -92,6 +103,9 @@ public interface PySparkJobOrBuilder * * * repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ com.google.protobuf.ByteString getArgsBytes(int index); @@ -104,6 +118,8 @@ public interface PySparkJobOrBuilder * * * repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the pythonFileUris. */ java.util.List getPythonFileUrisList(); /** @@ -115,6 +131,8 @@ public interface PySparkJobOrBuilder * * * repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of pythonFileUris. */ int getPythonFileUrisCount(); /** @@ -126,6 +144,9 @@ public interface PySparkJobOrBuilder * * * repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The pythonFileUris at the given index. */ java.lang.String getPythonFileUris(int index); /** @@ -137,6 +158,9 @@ public interface PySparkJobOrBuilder * * * repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the pythonFileUris at the given index. */ com.google.protobuf.ByteString getPythonFileUrisBytes(int index); @@ -149,6 +173,8 @@ public interface PySparkJobOrBuilder * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the jarFileUris. */ java.util.List getJarFileUrisList(); /** @@ -160,6 +186,8 @@ public interface PySparkJobOrBuilder * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of jarFileUris. */ int getJarFileUrisCount(); /** @@ -171,6 +199,9 @@ public interface PySparkJobOrBuilder * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ java.lang.String getJarFileUris(int index); /** @@ -182,6 +213,9 @@ public interface PySparkJobOrBuilder * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ com.google.protobuf.ByteString getJarFileUrisBytes(int index); @@ -194,6 +228,8 @@ public interface PySparkJobOrBuilder * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the fileUris. */ java.util.List getFileUrisList(); /** @@ -205,6 +241,8 @@ public interface PySparkJobOrBuilder * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of fileUris. */ int getFileUrisCount(); /** @@ -216,6 +254,9 @@ public interface PySparkJobOrBuilder * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ java.lang.String getFileUris(int index); /** @@ -227,6 +268,9 @@ public interface PySparkJobOrBuilder * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ com.google.protobuf.ByteString getFileUrisBytes(int index); @@ -239,6 +283,8 @@ public interface PySparkJobOrBuilder * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the archiveUris. */ java.util.List getArchiveUrisList(); /** @@ -250,6 +296,8 @@ public interface PySparkJobOrBuilder * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of archiveUris. */ int getArchiveUrisCount(); /** @@ -261,6 +309,9 @@ public interface PySparkJobOrBuilder * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ java.lang.String getArchiveUris(int index); /** @@ -272,6 +323,9 @@ public interface PySparkJobOrBuilder * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ com.google.protobuf.ByteString getArchiveUrisBytes(int index); @@ -359,6 +413,8 @@ public interface PySparkJobOrBuilder * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** @@ -371,6 +427,8 @@ public interface PySparkJobOrBuilder * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The loggingConfig. */ com.google.cloud.dataproc.v1.LoggingConfig getLoggingConfig(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/QueryList.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/QueryList.java index 7938efdd..a0c96620 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/QueryList.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/QueryList.java @@ -41,6 +41,12 @@ private QueryList() { queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new QueryList(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -134,6 +140,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the queries. */ public com.google.protobuf.ProtocolStringList getQueriesList() { return queries_; @@ -158,6 +166,8 @@ public com.google.protobuf.ProtocolStringList getQueriesList() { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of queries. */ public int getQueriesCount() { return queries_.size(); @@ -182,6 +192,9 @@ public int getQueriesCount() { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The queries at the given index. */ public java.lang.String getQueries(int index) { return queries_.get(index); @@ -206,6 +219,9 @@ public java.lang.String getQueries(int index) { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the queries at the given index. */ public com.google.protobuf.ByteString getQueriesBytes(int index) { return queries_.getByteString(index); @@ -575,6 +591,8 @@ private void ensureQueriesIsMutable() { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the queries. */ public com.google.protobuf.ProtocolStringList getQueriesList() { return queries_.getUnmodifiableView(); @@ -599,6 +617,8 @@ public com.google.protobuf.ProtocolStringList getQueriesList() { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of queries. */ public int getQueriesCount() { return queries_.size(); @@ -623,6 +643,9 @@ public int getQueriesCount() { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The queries at the given index. */ public java.lang.String getQueries(int index) { return queries_.get(index); @@ -647,6 +670,9 @@ public java.lang.String getQueries(int index) { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the queries at the given index. */ public com.google.protobuf.ByteString getQueriesBytes(int index) { return queries_.getByteString(index); @@ -671,6 +697,10 @@ public com.google.protobuf.ByteString getQueriesBytes(int index) { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index to set the value at. + * @param value The queries to set. + * @return This builder for chaining. */ public Builder setQueries(int index, java.lang.String value) { if (value == null) { @@ -701,6 +731,9 @@ public Builder setQueries(int index, java.lang.String value) { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The queries to add. + * @return This builder for chaining. */ public Builder addQueries(java.lang.String value) { if (value == null) { @@ -731,6 +764,9 @@ public Builder addQueries(java.lang.String value) { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param values The queries to add. + * @return This builder for chaining. */ public Builder addAllQueries(java.lang.Iterable values) { ensureQueriesIsMutable(); @@ -758,6 +794,8 @@ public Builder addAllQueries(java.lang.Iterable values) { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearQueries() { queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -785,6 +823,9 @@ public Builder clearQueries() { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes of the queries to add. + * @return This builder for chaining. */ public Builder addQueriesBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/QueryListOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/QueryListOrBuilder.java index 92ec4f61..463a0fda 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/QueryListOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/QueryListOrBuilder.java @@ -43,6 +43,8 @@ public interface QueryListOrBuilder * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the queries. */ java.util.List getQueriesList(); /** @@ -65,6 +67,8 @@ public interface QueryListOrBuilder * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of queries. */ int getQueriesCount(); /** @@ -87,6 +91,9 @@ public interface QueryListOrBuilder * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The queries at the given index. */ java.lang.String getQueries(int index); /** @@ -109,6 +116,9 @@ public interface QueryListOrBuilder * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the queries at the given index. */ com.google.protobuf.ByteString getQueriesBytes(int index); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/RegexValidation.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/RegexValidation.java index 4e2c4f76..33e45cce 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/RegexValidation.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/RegexValidation.java @@ -41,6 +41,12 @@ private RegexValidation() { regexes_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RegexValidation(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -124,6 +130,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the regexes. */ public com.google.protobuf.ProtocolStringList getRegexesList() { return regexes_; @@ -138,6 +146,8 @@ public com.google.protobuf.ProtocolStringList getRegexesList() { * * * repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of regexes. */ public int getRegexesCount() { return regexes_.size(); @@ -152,6 +162,9 @@ public int getRegexesCount() { * * * repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The regexes at the given index. */ public java.lang.String getRegexes(int index) { return regexes_.get(index); @@ -166,6 +179,9 @@ public java.lang.String getRegexes(int index) { * * * repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the regexes at the given index. */ public com.google.protobuf.ByteString getRegexesBytes(int index) { return regexes_.getByteString(index); @@ -526,6 +542,8 @@ private void ensureRegexesIsMutable() { * * * repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the regexes. */ public com.google.protobuf.ProtocolStringList getRegexesList() { return regexes_.getUnmodifiableView(); @@ -540,6 +558,8 @@ public com.google.protobuf.ProtocolStringList getRegexesList() { * * * repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of regexes. */ public int getRegexesCount() { return regexes_.size(); @@ -554,6 +574,9 @@ public int getRegexesCount() { * * * repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The regexes at the given index. */ public java.lang.String getRegexes(int index) { return regexes_.get(index); @@ -568,6 +591,9 @@ public java.lang.String getRegexes(int index) { * * * repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the regexes at the given index. */ public com.google.protobuf.ByteString getRegexesBytes(int index) { return regexes_.getByteString(index); @@ -582,6 +608,10 @@ public com.google.protobuf.ByteString getRegexesBytes(int index) { * * * repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index to set the value at. + * @param value The regexes to set. + * @return This builder for chaining. */ public Builder setRegexes(int index, java.lang.String value) { if (value == null) { @@ -602,6 +632,9 @@ public Builder setRegexes(int index, java.lang.String value) { * * * repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The regexes to add. + * @return This builder for chaining. */ public Builder addRegexes(java.lang.String value) { if (value == null) { @@ -622,6 +655,9 @@ public Builder addRegexes(java.lang.String value) { * * * repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param values The regexes to add. + * @return This builder for chaining. */ public Builder addAllRegexes(java.lang.Iterable values) { ensureRegexesIsMutable(); @@ -639,6 +675,8 @@ public Builder addAllRegexes(java.lang.Iterable values) { * * * repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegexes() { regexes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -656,6 +694,9 @@ public Builder clearRegexes() { * * * repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes of the regexes to add. + * @return This builder for chaining. */ public Builder addRegexesBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/RegexValidationOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/RegexValidationOrBuilder.java index 3f0ad169..27400858 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/RegexValidationOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/RegexValidationOrBuilder.java @@ -33,6 +33,8 @@ public interface RegexValidationOrBuilder * * * repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the regexes. */ java.util.List getRegexesList(); /** @@ -45,6 +47,8 @@ public interface RegexValidationOrBuilder * * * repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of regexes. */ int getRegexesCount(); /** @@ -57,6 +61,9 @@ public interface RegexValidationOrBuilder * * * repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The regexes at the given index. */ java.lang.String getRegexes(int index); /** @@ -69,6 +76,9 @@ public interface RegexValidationOrBuilder * * * repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the regexes at the given index. */ com.google.protobuf.ByteString getRegexesBytes(int index); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/RegionName.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/RegionName.java index bc9609f0..b25162f1 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/RegionName.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/RegionName.java @@ -24,7 +24,7 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public class RegionName implements ResourceName { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SecurityConfig.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SecurityConfig.java index 5856e3d0..69a335e4 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SecurityConfig.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SecurityConfig.java @@ -39,6 +39,12 @@ private SecurityConfig(com.google.protobuf.GeneratedMessageV3.Builder builder private SecurityConfig() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SecurityConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private SecurityConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -123,6 +128,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * .google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1; + * + * @return Whether the kerberosConfig field is set. */ public boolean hasKerberosConfig() { return kerberosConfig_ != null; @@ -135,6 +142,8 @@ public boolean hasKerberosConfig() { * * * .google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1; + * + * @return The kerberosConfig. */ public com.google.cloud.dataproc.v1.KerberosConfig getKerberosConfig() { return kerberosConfig_ == null @@ -496,6 +505,8 @@ public Builder mergeFrom( * * * .google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1; + * + * @return Whether the kerberosConfig field is set. */ public boolean hasKerberosConfig() { return kerberosConfigBuilder_ != null || kerberosConfig_ != null; @@ -508,6 +519,8 @@ public boolean hasKerberosConfig() { * * * .google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1; + * + * @return The kerberosConfig. */ public com.google.cloud.dataproc.v1.KerberosConfig getKerberosConfig() { if (kerberosConfigBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SecurityConfigOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SecurityConfigOrBuilder.java index 61fa8034..1027777d 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SecurityConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SecurityConfigOrBuilder.java @@ -31,6 +31,8 @@ public interface SecurityConfigOrBuilder * * * .google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1; + * + * @return Whether the kerberosConfig field is set. */ boolean hasKerberosConfig(); /** @@ -41,6 +43,8 @@ public interface SecurityConfigOrBuilder * * * .google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1; + * + * @return The kerberosConfig. */ com.google.cloud.dataproc.v1.KerberosConfig getKerberosConfig(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SharedProto.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SharedProto.java index ebeab229..3132e0c7 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SharedProto.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SharedProto.java @@ -44,20 +44,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\001Z@google.golang.org/genproto/googleapis" + "/cloud/dataproc/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(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); com.google.api.AnnotationsProto.getDescriptor(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SoftwareConfig.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SoftwareConfig.java index f773f61e..d9d054b6 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SoftwareConfig.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SoftwareConfig.java @@ -42,6 +42,12 @@ private SoftwareConfig() { optionalComponents_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SoftwareConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -75,11 +81,11 @@ private SoftwareConfig( } case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry properties__ = input.readMessage( @@ -91,9 +97,9 @@ private SoftwareConfig( case 24: { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { optionalComponents_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000002; } optionalComponents_.add(rawValue); break; @@ -104,9 +110,9 @@ private SoftwareConfig( int oldLimit = input.pushLimit(length); while (input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { optionalComponents_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000002; } optionalComponents_.add(rawValue); } @@ -127,7 +133,7 @@ private SoftwareConfig( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { optionalComponents_ = java.util.Collections.unmodifiableList(optionalComponents_); } this.unknownFields = unknownFields.build(); @@ -161,7 +167,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1.SoftwareConfig.Builder.class); } - private int bitField0_; public static final int IMAGE_VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object imageVersion_; /** @@ -178,6 +183,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The imageVersion. */ public java.lang.String getImageVersion() { java.lang.Object ref = imageVersion_; @@ -204,6 +211,8 @@ public java.lang.String getImageVersion() { * * * string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for imageVersion. */ public com.google.protobuf.ByteString getImageVersionBytes() { java.lang.Object ref = imageVersion_; @@ -395,6 +404,8 @@ public com.google.cloud.dataproc.v1.Component convert(java.lang.Integer from) { * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return A list containing the optionalComponents. */ public java.util.List getOptionalComponentsList() { return new com.google.protobuf.Internal.ListAdapter< @@ -411,6 +422,8 @@ public java.util.List getOptionalCompone * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The optionalComponents to add. */ public int getOptionalComponentsCount() { return optionalComponents_.size(); @@ -425,6 +438,9 @@ public int getOptionalComponentsCount() { * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the element to return. + * @return The optionalComponents at the given index. */ public com.google.cloud.dataproc.v1.Component getOptionalComponents(int index) { return optionalComponents_converter_.convert(optionalComponents_.get(index)); @@ -439,6 +455,8 @@ public com.google.cloud.dataproc.v1.Component getOptionalComponents(int index) { * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return A list containing the enum numeric values on the wire for optionalComponents. */ public java.util.List getOptionalComponentsValueList() { return optionalComponents_; @@ -453,6 +471,9 @@ public java.util.List getOptionalComponentsValueList() { * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the value to return. + * @return The enum numeric value on the wire of optionalComponents at the given index. */ public int getOptionalComponentsValue(int index) { return optionalComponents_.get(index); @@ -731,7 +752,7 @@ public Builder clear() { internalGetMutableProperties().clear(); optionalComponents_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -760,16 +781,14 @@ public com.google.cloud.dataproc.v1.SoftwareConfig buildPartial() { com.google.cloud.dataproc.v1.SoftwareConfig result = new com.google.cloud.dataproc.v1.SoftwareConfig(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.imageVersion_ = imageVersion_; result.properties_ = internalGetProperties(); result.properties_.makeImmutable(); - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { optionalComponents_ = java.util.Collections.unmodifiableList(optionalComponents_); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); } result.optionalComponents_ = optionalComponents_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -827,7 +846,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.SoftwareConfig other) { if (!other.optionalComponents_.isEmpty()) { if (optionalComponents_.isEmpty()) { optionalComponents_ = other.optionalComponents_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureOptionalComponentsIsMutable(); optionalComponents_.addAll(other.optionalComponents_); @@ -880,6 +899,8 @@ public Builder mergeFrom( * * * string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The imageVersion. */ public java.lang.String getImageVersion() { java.lang.Object ref = imageVersion_; @@ -906,6 +927,8 @@ public java.lang.String getImageVersion() { * * * string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for imageVersion. */ public com.google.protobuf.ByteString getImageVersionBytes() { java.lang.Object ref = imageVersion_; @@ -932,6 +955,9 @@ public com.google.protobuf.ByteString getImageVersionBytes() { * * * string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The imageVersion to set. + * @return This builder for chaining. */ public Builder setImageVersion(java.lang.String value) { if (value == null) { @@ -956,6 +982,8 @@ public Builder setImageVersion(java.lang.String value) { * * * string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearImageVersion() { @@ -977,6 +1005,9 @@ public Builder clearImageVersion() { * * * string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for imageVersion to set. + * @return This builder for chaining. */ public Builder setImageVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1253,9 +1284,9 @@ public Builder putAllProperties(java.util.Map(optionalComponents_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; } } /** @@ -1268,6 +1299,8 @@ private void ensureOptionalComponentsIsMutable() { * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return A list containing the optionalComponents. */ public java.util.List getOptionalComponentsList() { return new com.google.protobuf.Internal.ListAdapter< @@ -1284,6 +1317,8 @@ public java.util.List getOptionalCompone * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The count of optionalComponents. */ public int getOptionalComponentsCount() { return optionalComponents_.size(); @@ -1298,6 +1333,9 @@ public int getOptionalComponentsCount() { * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the element to return. + * @return The optionalComponents at the given index. */ public com.google.cloud.dataproc.v1.Component getOptionalComponents(int index) { return optionalComponents_converter_.convert(optionalComponents_.get(index)); @@ -1312,6 +1350,10 @@ public com.google.cloud.dataproc.v1.Component getOptionalComponents(int index) { * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index to set the value at. + * @param value The optionalComponents to set. + * @return This builder for chaining. */ public Builder setOptionalComponents(int index, com.google.cloud.dataproc.v1.Component value) { if (value == null) { @@ -1332,6 +1374,9 @@ public Builder setOptionalComponents(int index, com.google.cloud.dataproc.v1.Com * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The optionalComponents to add. + * @return This builder for chaining. */ public Builder addOptionalComponents(com.google.cloud.dataproc.v1.Component value) { if (value == null) { @@ -1352,6 +1397,9 @@ public Builder addOptionalComponents(com.google.cloud.dataproc.v1.Component valu * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param values The optionalComponents to add. + * @return This builder for chaining. */ public Builder addAllOptionalComponents( java.lang.Iterable values) { @@ -1372,10 +1420,12 @@ public Builder addAllOptionalComponents( * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearOptionalComponents() { optionalComponents_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -1389,6 +1439,8 @@ public Builder clearOptionalComponents() { * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return A list containing the enum numeric values on the wire for optionalComponents. */ public java.util.List getOptionalComponentsValueList() { return java.util.Collections.unmodifiableList(optionalComponents_); @@ -1403,6 +1455,9 @@ public java.util.List getOptionalComponentsValueList() { * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the value to return. + * @return The enum numeric value on the wire of optionalComponents at the given index. */ public int getOptionalComponentsValue(int index) { return optionalComponents_.get(index); @@ -1417,6 +1472,10 @@ public int getOptionalComponentsValue(int index) { * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the value to return. + * @return The enum numeric value on the wire of optionalComponents at the given index. + * @return This builder for chaining. */ public Builder setOptionalComponentsValue(int index, int value) { ensureOptionalComponentsIsMutable(); @@ -1434,6 +1493,9 @@ public Builder setOptionalComponentsValue(int index, int value) { * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The enum numeric value on the wire for optionalComponents to add. + * @return This builder for chaining. */ public Builder addOptionalComponentsValue(int value) { ensureOptionalComponentsIsMutable(); @@ -1451,6 +1513,9 @@ public Builder addOptionalComponentsValue(int value) { * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param values The enum numeric values on the wire for optionalComponents to add. + * @return This builder for chaining. */ public Builder addAllOptionalComponentsValue(java.lang.Iterable values) { ensureOptionalComponentsIsMutable(); diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SoftwareConfigOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SoftwareConfigOrBuilder.java index a64880a7..49903dfa 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SoftwareConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SoftwareConfigOrBuilder.java @@ -37,6 +37,8 @@ public interface SoftwareConfigOrBuilder * * * string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The imageVersion. */ java.lang.String getImageVersion(); /** @@ -53,6 +55,8 @@ public interface SoftwareConfigOrBuilder * * * string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for imageVersion. */ com.google.protobuf.ByteString getImageVersionBytes(); @@ -195,6 +199,8 @@ public interface SoftwareConfigOrBuilder * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return A list containing the optionalComponents. */ java.util.List getOptionalComponentsList(); /** @@ -207,6 +213,8 @@ public interface SoftwareConfigOrBuilder * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The count of optionalComponents. */ int getOptionalComponentsCount(); /** @@ -219,6 +227,9 @@ public interface SoftwareConfigOrBuilder * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the element to return. + * @return The optionalComponents at the given index. */ com.google.cloud.dataproc.v1.Component getOptionalComponents(int index); /** @@ -231,6 +242,8 @@ public interface SoftwareConfigOrBuilder * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return A list containing the enum numeric values on the wire for optionalComponents. */ java.util.List getOptionalComponentsValueList(); /** @@ -243,6 +256,9 @@ public interface SoftwareConfigOrBuilder * * repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the value to return. + * @return The enum numeric value on the wire of optionalComponents at the given index. */ int getOptionalComponentsValue(int index); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJob.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJob.java index 13f2425b..bb939d70 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJob.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJob.java @@ -45,6 +45,12 @@ private SparkJob() { archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SparkJob(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -86,9 +92,9 @@ private SparkJob( case 26: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000001; } args_.add(s); break; @@ -96,9 +102,9 @@ private SparkJob( case 34: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { jarFileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000002; } jarFileUris_.add(s); break; @@ -106,9 +112,9 @@ private SparkJob( case 42: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { fileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000004; } fileUris_.add(s); break; @@ -116,20 +122,20 @@ private SparkJob( case 50: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { archiveUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000008; } archiveUris_.add(s); break; } case 58: { - if (!((mutable_bitField0_ & 0x00000040) != 0)) { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000040; + mutable_bitField0_ |= 0x00000010; } com.google.protobuf.MapEntry properties__ = input.readMessage( @@ -168,16 +174,16 @@ private SparkJob( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000008) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000010) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { fileUris_ = fileUris_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000020) != 0)) { + if (((mutable_bitField0_ & 0x00000008) != 0)) { archiveUris_ = archiveUris_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -211,11 +217,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1.SparkJob.Builder.class); } - private int bitField0_; private int driverCase_ = 0; private java.lang.Object driver_; - public enum DriverCase implements com.google.protobuf.Internal.EnumLite { + public enum DriverCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAIN_JAR_FILE_URI(1), MAIN_CLASS(2), DRIVER_NOT_SET(0); @@ -224,7 +232,11 @@ public enum DriverCase implements com.google.protobuf.Internal.EnumLite { private DriverCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static DriverCase valueOf(int value) { return forNumber(value); @@ -261,6 +273,8 @@ public DriverCase getDriverCase() { * * * string main_jar_file_uri = 1; + * + * @return The mainJarFileUri. */ public java.lang.String getMainJarFileUri() { java.lang.Object ref = ""; @@ -286,6 +300,8 @@ public java.lang.String getMainJarFileUri() { * * * string main_jar_file_uri = 1; + * + * @return The bytes for mainJarFileUri. */ public com.google.protobuf.ByteString getMainJarFileUriBytes() { java.lang.Object ref = ""; @@ -314,6 +330,8 @@ public com.google.protobuf.ByteString getMainJarFileUriBytes() { * * * string main_class = 2; + * + * @return The mainClass. */ public java.lang.String getMainClass() { java.lang.Object ref = ""; @@ -340,6 +358,8 @@ public java.lang.String getMainClass() { * * * string main_class = 2; + * + * @return The bytes for mainClass. */ public com.google.protobuf.ByteString getMainClassBytes() { java.lang.Object ref = ""; @@ -370,6 +390,8 @@ public com.google.protobuf.ByteString getMainClassBytes() { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the args. */ public com.google.protobuf.ProtocolStringList getArgsList() { return args_; @@ -384,6 +406,8 @@ public com.google.protobuf.ProtocolStringList getArgsList() { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of args. */ public int getArgsCount() { return args_.size(); @@ -398,6 +422,9 @@ public int getArgsCount() { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The args at the given index. */ public java.lang.String getArgs(int index) { return args_.get(index); @@ -412,6 +439,9 @@ public java.lang.String getArgs(int index) { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); @@ -428,6 +458,8 @@ public com.google.protobuf.ByteString getArgsBytes(int index) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_; @@ -441,6 +473,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -454,6 +488,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -467,6 +504,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -483,6 +523,8 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the fileUris. */ public com.google.protobuf.ProtocolStringList getFileUrisList() { return fileUris_; @@ -496,6 +538,8 @@ public com.google.protobuf.ProtocolStringList getFileUrisList() { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); @@ -509,6 +553,9 @@ public int getFileUrisCount() { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ public java.lang.String getFileUris(int index) { return fileUris_.get(index); @@ -522,6 +569,9 @@ public java.lang.String getFileUris(int index) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ public com.google.protobuf.ByteString getFileUrisBytes(int index) { return fileUris_.getByteString(index); @@ -539,6 +589,8 @@ public com.google.protobuf.ByteString getFileUrisBytes(int index) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the archiveUris. */ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { return archiveUris_; @@ -553,6 +605,8 @@ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); @@ -567,6 +621,9 @@ public int getArchiveUrisCount() { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); @@ -581,6 +638,9 @@ public java.lang.String getArchiveUris(int index) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); @@ -708,6 +768,8 @@ public java.lang.String getPropertiesOrThrow(java.lang.String key) { * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfig_ != null; @@ -722,6 +784,8 @@ public boolean hasLoggingConfig() { * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1.LoggingConfig getLoggingConfig() { return loggingConfig_ == null @@ -1088,13 +1152,13 @@ private void maybeForceBuilderInitialization() { public Builder clear() { super.clear(); args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); fileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); internalGetMutableProperties().clear(); if (loggingConfigBuilder_ == null) { loggingConfig_ = null; @@ -1132,31 +1196,30 @@ public com.google.cloud.dataproc.v1.SparkJob buildPartial() { com.google.cloud.dataproc.v1.SparkJob result = new com.google.cloud.dataproc.v1.SparkJob(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (driverCase_ == 1) { result.driver_ = driver_; } if (driverCase_ == 2) { result.driver_ = driver_; } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } result.args_ = args_; - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); } result.jarFileUris_ = jarFileUris_; - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { fileUris_ = fileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); } result.fileUris_ = fileUris_; - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { archiveUris_ = archiveUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); } result.archiveUris_ = archiveUris_; result.properties_ = internalGetProperties(); @@ -1166,7 +1229,6 @@ public com.google.cloud.dataproc.v1.SparkJob buildPartial() { } else { result.loggingConfig_ = loggingConfigBuilder_.build(); } - result.bitField0_ = to_bitField0_; result.driverCase_ = driverCase_; onBuilt(); return result; @@ -1220,7 +1282,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.SparkJob other) { if (!other.args_.isEmpty()) { if (args_.isEmpty()) { args_ = other.args_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureArgsIsMutable(); args_.addAll(other.args_); @@ -1230,7 +1292,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.SparkJob other) { if (!other.jarFileUris_.isEmpty()) { if (jarFileUris_.isEmpty()) { jarFileUris_ = other.jarFileUris_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureJarFileUrisIsMutable(); jarFileUris_.addAll(other.jarFileUris_); @@ -1240,7 +1302,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.SparkJob other) { if (!other.fileUris_.isEmpty()) { if (fileUris_.isEmpty()) { fileUris_ = other.fileUris_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureFileUrisIsMutable(); fileUris_.addAll(other.fileUris_); @@ -1250,7 +1312,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.SparkJob other) { if (!other.archiveUris_.isEmpty()) { if (archiveUris_.isEmpty()) { archiveUris_ = other.archiveUris_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); } else { ensureArchiveUrisIsMutable(); archiveUris_.addAll(other.archiveUris_); @@ -1334,6 +1396,8 @@ public Builder clearDriver() { * * * string main_jar_file_uri = 1; + * + * @return The mainJarFileUri. */ public java.lang.String getMainJarFileUri() { java.lang.Object ref = ""; @@ -1359,6 +1423,8 @@ public java.lang.String getMainJarFileUri() { * * * string main_jar_file_uri = 1; + * + * @return The bytes for mainJarFileUri. */ public com.google.protobuf.ByteString getMainJarFileUriBytes() { java.lang.Object ref = ""; @@ -1384,6 +1450,9 @@ public com.google.protobuf.ByteString getMainJarFileUriBytes() { * * * string main_jar_file_uri = 1; + * + * @param value The mainJarFileUri to set. + * @return This builder for chaining. */ public Builder setMainJarFileUri(java.lang.String value) { if (value == null) { @@ -1402,6 +1471,8 @@ public Builder setMainJarFileUri(java.lang.String value) { * * * string main_jar_file_uri = 1; + * + * @return This builder for chaining. */ public Builder clearMainJarFileUri() { if (driverCase_ == 1) { @@ -1419,6 +1490,9 @@ public Builder clearMainJarFileUri() { * * * string main_jar_file_uri = 1; + * + * @param value The bytes for mainJarFileUri to set. + * @return This builder for chaining. */ public Builder setMainJarFileUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1440,6 +1514,8 @@ public Builder setMainJarFileUriBytes(com.google.protobuf.ByteString value) { * * * string main_class = 2; + * + * @return The mainClass. */ public java.lang.String getMainClass() { java.lang.Object ref = ""; @@ -1466,6 +1542,8 @@ public java.lang.String getMainClass() { * * * string main_class = 2; + * + * @return The bytes for mainClass. */ public com.google.protobuf.ByteString getMainClassBytes() { java.lang.Object ref = ""; @@ -1492,6 +1570,9 @@ public com.google.protobuf.ByteString getMainClassBytes() { * * * string main_class = 2; + * + * @param value The mainClass to set. + * @return This builder for chaining. */ public Builder setMainClass(java.lang.String value) { if (value == null) { @@ -1511,6 +1592,8 @@ public Builder setMainClass(java.lang.String value) { * * * string main_class = 2; + * + * @return This builder for chaining. */ public Builder clearMainClass() { if (driverCase_ == 2) { @@ -1529,6 +1612,9 @@ public Builder clearMainClass() { * * * string main_class = 2; + * + * @param value The bytes for mainClass to set. + * @return This builder for chaining. */ public Builder setMainClassBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1545,9 +1631,9 @@ public Builder setMainClassBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArgsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(args_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000001; } } /** @@ -1560,6 +1646,8 @@ private void ensureArgsIsMutable() { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the args. */ public com.google.protobuf.ProtocolStringList getArgsList() { return args_.getUnmodifiableView(); @@ -1574,6 +1662,8 @@ public com.google.protobuf.ProtocolStringList getArgsList() { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of args. */ public int getArgsCount() { return args_.size(); @@ -1588,6 +1678,9 @@ public int getArgsCount() { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The args at the given index. */ public java.lang.String getArgs(int index) { return args_.get(index); @@ -1602,6 +1695,9 @@ public java.lang.String getArgs(int index) { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); @@ -1616,6 +1712,10 @@ public com.google.protobuf.ByteString getArgsBytes(int index) { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The args to set. + * @return This builder for chaining. */ public Builder setArgs(int index, java.lang.String value) { if (value == null) { @@ -1636,6 +1736,9 @@ public Builder setArgs(int index, java.lang.String value) { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The args to add. + * @return This builder for chaining. */ public Builder addArgs(java.lang.String value) { if (value == null) { @@ -1656,6 +1759,9 @@ public Builder addArgs(java.lang.String value) { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The args to add. + * @return This builder for chaining. */ public Builder addAllArgs(java.lang.Iterable values) { ensureArgsIsMutable(); @@ -1673,10 +1779,12 @@ public Builder addAllArgs(java.lang.Iterable values) { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearArgs() { args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1690,6 +1798,9 @@ public Builder clearArgs() { * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the args to add. + * @return This builder for chaining. */ public Builder addArgsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1706,9 +1817,9 @@ public Builder addArgsBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureJarFileUrisIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { jarFileUris_ = new com.google.protobuf.LazyStringArrayList(jarFileUris_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000002; } } /** @@ -1720,6 +1831,8 @@ private void ensureJarFileUrisIsMutable() { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_.getUnmodifiableView(); @@ -1733,6 +1846,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -1746,6 +1861,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -1759,6 +1877,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -1772,6 +1893,10 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The jarFileUris to set. + * @return This builder for chaining. */ public Builder setJarFileUris(int index, java.lang.String value) { if (value == null) { @@ -1791,6 +1916,9 @@ public Builder setJarFileUris(int index, java.lang.String value) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUris(java.lang.String value) { if (value == null) { @@ -1810,6 +1938,9 @@ public Builder addJarFileUris(java.lang.String value) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The jarFileUris to add. + * @return This builder for chaining. */ public Builder addAllJarFileUris(java.lang.Iterable values) { ensureJarFileUrisIsMutable(); @@ -1826,10 +1957,12 @@ public Builder addAllJarFileUris(java.lang.Iterable values) { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearJarFileUris() { jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -1842,6 +1975,9 @@ public Builder clearJarFileUris() { * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1858,9 +1994,9 @@ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFileUrisIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { + if (!((bitField0_ & 0x00000004) != 0)) { fileUris_ = new com.google.protobuf.LazyStringArrayList(fileUris_); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000004; } } /** @@ -1872,6 +2008,8 @@ private void ensureFileUrisIsMutable() { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the fileUris. */ public com.google.protobuf.ProtocolStringList getFileUrisList() { return fileUris_.getUnmodifiableView(); @@ -1885,6 +2023,8 @@ public com.google.protobuf.ProtocolStringList getFileUrisList() { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); @@ -1898,6 +2038,9 @@ public int getFileUrisCount() { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ public java.lang.String getFileUris(int index) { return fileUris_.get(index); @@ -1911,6 +2054,9 @@ public java.lang.String getFileUris(int index) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ public com.google.protobuf.ByteString getFileUrisBytes(int index) { return fileUris_.getByteString(index); @@ -1924,6 +2070,10 @@ public com.google.protobuf.ByteString getFileUrisBytes(int index) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The fileUris to set. + * @return This builder for chaining. */ public Builder setFileUris(int index, java.lang.String value) { if (value == null) { @@ -1943,6 +2093,9 @@ public Builder setFileUris(int index, java.lang.String value) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The fileUris to add. + * @return This builder for chaining. */ public Builder addFileUris(java.lang.String value) { if (value == null) { @@ -1962,6 +2115,9 @@ public Builder addFileUris(java.lang.String value) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The fileUris to add. + * @return This builder for chaining. */ public Builder addAllFileUris(java.lang.Iterable values) { ensureFileUrisIsMutable(); @@ -1978,10 +2134,12 @@ public Builder addAllFileUris(java.lang.Iterable values) { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearFileUris() { fileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -1994,6 +2152,9 @@ public Builder clearFileUris() { * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the fileUris to add. + * @return This builder for chaining. */ public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2010,9 +2171,9 @@ public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArchiveUrisIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { + if (!((bitField0_ & 0x00000008) != 0)) { archiveUris_ = new com.google.protobuf.LazyStringArrayList(archiveUris_); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000008; } } /** @@ -2025,6 +2186,8 @@ private void ensureArchiveUrisIsMutable() { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the archiveUris. */ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { return archiveUris_.getUnmodifiableView(); @@ -2039,6 +2202,8 @@ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); @@ -2053,6 +2218,9 @@ public int getArchiveUrisCount() { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); @@ -2067,6 +2235,9 @@ public java.lang.String getArchiveUris(int index) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); @@ -2081,6 +2252,10 @@ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The archiveUris to set. + * @return This builder for chaining. */ public Builder setArchiveUris(int index, java.lang.String value) { if (value == null) { @@ -2101,6 +2276,9 @@ public Builder setArchiveUris(int index, java.lang.String value) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The archiveUris to add. + * @return This builder for chaining. */ public Builder addArchiveUris(java.lang.String value) { if (value == null) { @@ -2121,6 +2299,9 @@ public Builder addArchiveUris(java.lang.String value) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The archiveUris to add. + * @return This builder for chaining. */ public Builder addAllArchiveUris(java.lang.Iterable values) { ensureArchiveUrisIsMutable(); @@ -2138,10 +2319,12 @@ public Builder addAllArchiveUris(java.lang.Iterable values) { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearArchiveUris() { archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -2155,6 +2338,9 @@ public Builder clearArchiveUris() { * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the archiveUris to add. + * @return This builder for chaining. */ public Builder addArchiveUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2366,6 +2552,8 @@ public Builder putAllProperties(java.util.Map * .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; @@ -2380,6 +2568,8 @@ public boolean hasLoggingConfig() { * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJobOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJobOrBuilder.java index 84e1d645..a5112516 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJobOrBuilder.java @@ -31,6 +31,8 @@ public interface SparkJobOrBuilder * * * string main_jar_file_uri = 1; + * + * @return The mainJarFileUri. */ java.lang.String getMainJarFileUri(); /** @@ -41,6 +43,8 @@ public interface SparkJobOrBuilder * * * string main_jar_file_uri = 1; + * + * @return The bytes for mainJarFileUri. */ com.google.protobuf.ByteString getMainJarFileUriBytes(); @@ -53,6 +57,8 @@ public interface SparkJobOrBuilder * * * string main_class = 2; + * + * @return The mainClass. */ java.lang.String getMainClass(); /** @@ -64,6 +70,8 @@ public interface SparkJobOrBuilder * * * string main_class = 2; + * + * @return The bytes for mainClass. */ com.google.protobuf.ByteString getMainClassBytes(); @@ -77,6 +85,8 @@ public interface SparkJobOrBuilder * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the args. */ java.util.List getArgsList(); /** @@ -89,6 +99,8 @@ public interface SparkJobOrBuilder * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of args. */ int getArgsCount(); /** @@ -101,6 +113,9 @@ public interface SparkJobOrBuilder * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The args at the given index. */ java.lang.String getArgs(int index); /** @@ -113,6 +128,9 @@ public interface SparkJobOrBuilder * * * repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ com.google.protobuf.ByteString getArgsBytes(int index); @@ -125,6 +143,8 @@ public interface SparkJobOrBuilder * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the jarFileUris. */ java.util.List getJarFileUrisList(); /** @@ -136,6 +156,8 @@ public interface SparkJobOrBuilder * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of jarFileUris. */ int getJarFileUrisCount(); /** @@ -147,6 +169,9 @@ public interface SparkJobOrBuilder * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ java.lang.String getJarFileUris(int index); /** @@ -158,6 +183,9 @@ public interface SparkJobOrBuilder * * * repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ com.google.protobuf.ByteString getJarFileUrisBytes(int index); @@ -170,6 +198,8 @@ public interface SparkJobOrBuilder * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the fileUris. */ java.util.List getFileUrisList(); /** @@ -181,6 +211,8 @@ public interface SparkJobOrBuilder * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of fileUris. */ int getFileUrisCount(); /** @@ -192,6 +224,9 @@ public interface SparkJobOrBuilder * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ java.lang.String getFileUris(int index); /** @@ -203,6 +238,9 @@ public interface SparkJobOrBuilder * * * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ com.google.protobuf.ByteString getFileUrisBytes(int index); @@ -216,6 +254,8 @@ public interface SparkJobOrBuilder * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the archiveUris. */ java.util.List getArchiveUrisList(); /** @@ -228,6 +268,8 @@ public interface SparkJobOrBuilder * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of archiveUris. */ int getArchiveUrisCount(); /** @@ -240,6 +282,9 @@ public interface SparkJobOrBuilder * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ java.lang.String getArchiveUris(int index); /** @@ -252,6 +297,9 @@ public interface SparkJobOrBuilder * * * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ com.google.protobuf.ByteString getArchiveUrisBytes(int index); @@ -339,6 +387,8 @@ public interface SparkJobOrBuilder * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** @@ -351,6 +401,8 @@ public interface SparkJobOrBuilder * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The loggingConfig. */ com.google.cloud.dataproc.v1.LoggingConfig getLoggingConfig(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJob.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJob.java index 166c5c6f..a2eb9630 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJob.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJob.java @@ -42,6 +42,12 @@ private SparkSqlJob() { jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SparkSqlJob(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -91,11 +97,11 @@ private SparkSqlJob( } case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { scriptVariables_ = com.google.protobuf.MapField.newMapField( ScriptVariablesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry scriptVariables__ = input.readMessage( @@ -108,11 +114,11 @@ private SparkSqlJob( } case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry properties__ = input.readMessage( @@ -140,9 +146,9 @@ private SparkSqlJob( case 450: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { jarFileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000004; } jarFileUris_.add(s); break; @@ -161,7 +167,7 @@ private SparkSqlJob( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000010) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -197,11 +203,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1.SparkSqlJob.Builder.class); } - private int bitField0_; private int queriesCase_ = 0; private java.lang.Object queries_; - public enum QueriesCase implements com.google.protobuf.Internal.EnumLite { + public enum QueriesCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { QUERY_FILE_URI(1), QUERY_LIST(2), QUERIES_NOT_SET(0); @@ -210,7 +218,11 @@ public enum QueriesCase implements com.google.protobuf.Internal.EnumLite { private QueriesCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static QueriesCase valueOf(int value) { return forNumber(value); @@ -247,6 +259,8 @@ public QueriesCase getQueriesCase() { * * * string query_file_uri = 1; + * + * @return The queryFileUri. */ public java.lang.String getQueryFileUri() { java.lang.Object ref = ""; @@ -272,6 +286,8 @@ public java.lang.String getQueryFileUri() { * * * string query_file_uri = 1; + * + * @return The bytes for queryFileUri. */ public com.google.protobuf.ByteString getQueryFileUriBytes() { java.lang.Object ref = ""; @@ -299,6 +315,8 @@ public com.google.protobuf.ByteString getQueryFileUriBytes() { * * * .google.cloud.dataproc.v1.QueryList query_list = 2; + * + * @return Whether the queryList field is set. */ public boolean hasQueryList() { return queriesCase_ == 2; @@ -311,6 +329,8 @@ public boolean hasQueryList() { * * * .google.cloud.dataproc.v1.QueryList query_list = 2; + * + * @return The queryList. */ public com.google.cloud.dataproc.v1.QueryList getQueryList() { if (queriesCase_ == 2) { @@ -554,6 +574,8 @@ public java.lang.String getPropertiesOrThrow(java.lang.String key) { * * * repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_; @@ -566,6 +588,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -578,6 +602,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -590,6 +617,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -607,6 +637,8 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfig_ != null; @@ -621,6 +653,8 @@ public boolean hasLoggingConfig() { * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1.LoggingConfig getLoggingConfig() { return loggingConfig_ == null @@ -965,7 +999,7 @@ public Builder clear() { internalGetMutableScriptVariables().clear(); internalGetMutableProperties().clear(); jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); if (loggingConfigBuilder_ == null) { loggingConfig_ = null; } else { @@ -1002,7 +1036,6 @@ public com.google.cloud.dataproc.v1.SparkSqlJob buildPartial() { com.google.cloud.dataproc.v1.SparkSqlJob result = new com.google.cloud.dataproc.v1.SparkSqlJob(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (queriesCase_ == 1) { result.queries_ = queries_; } @@ -1017,9 +1050,9 @@ public com.google.cloud.dataproc.v1.SparkSqlJob buildPartial() { result.scriptVariables_.makeImmutable(); result.properties_ = internalGetProperties(); result.properties_.makeImmutable(); - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); } result.jarFileUris_ = jarFileUris_; if (loggingConfigBuilder_ == null) { @@ -1027,7 +1060,6 @@ public com.google.cloud.dataproc.v1.SparkSqlJob buildPartial() { } else { result.loggingConfig_ = loggingConfigBuilder_.build(); } - result.bitField0_ = to_bitField0_; result.queriesCase_ = queriesCase_; onBuilt(); return result; @@ -1083,7 +1115,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.SparkSqlJob other) { if (!other.jarFileUris_.isEmpty()) { if (jarFileUris_.isEmpty()) { jarFileUris_ = other.jarFileUris_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureJarFileUrisIsMutable(); jarFileUris_.addAll(other.jarFileUris_); @@ -1164,6 +1196,8 @@ public Builder clearQueries() { * * * string query_file_uri = 1; + * + * @return The queryFileUri. */ public java.lang.String getQueryFileUri() { java.lang.Object ref = ""; @@ -1189,6 +1223,8 @@ public java.lang.String getQueryFileUri() { * * * string query_file_uri = 1; + * + * @return The bytes for queryFileUri. */ public com.google.protobuf.ByteString getQueryFileUriBytes() { java.lang.Object ref = ""; @@ -1214,6 +1250,9 @@ public com.google.protobuf.ByteString getQueryFileUriBytes() { * * * string query_file_uri = 1; + * + * @param value The queryFileUri to set. + * @return This builder for chaining. */ public Builder setQueryFileUri(java.lang.String value) { if (value == null) { @@ -1232,6 +1271,8 @@ public Builder setQueryFileUri(java.lang.String value) { * * * string query_file_uri = 1; + * + * @return This builder for chaining. */ public Builder clearQueryFileUri() { if (queriesCase_ == 1) { @@ -1249,6 +1290,9 @@ public Builder clearQueryFileUri() { * * * string query_file_uri = 1; + * + * @param value The bytes for queryFileUri to set. + * @return This builder for chaining. */ public Builder setQueryFileUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1274,6 +1318,8 @@ public Builder setQueryFileUriBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dataproc.v1.QueryList query_list = 2; + * + * @return Whether the queryList field is set. */ public boolean hasQueryList() { return queriesCase_ == 2; @@ -1286,6 +1332,8 @@ public boolean hasQueryList() { * * * .google.cloud.dataproc.v1.QueryList query_list = 2; + * + * @return The queryList. */ public com.google.cloud.dataproc.v1.QueryList getQueryList() { if (queryListBuilder_ == null) { @@ -1819,9 +1867,9 @@ public Builder putAllProperties(java.util.Map * * repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_.getUnmodifiableView(); @@ -1844,6 +1894,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -1856,6 +1908,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -1868,6 +1923,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -1880,6 +1938,10 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The jarFileUris to set. + * @return This builder for chaining. */ public Builder setJarFileUris(int index, java.lang.String value) { if (value == null) { @@ -1898,6 +1960,9 @@ public Builder setJarFileUris(int index, java.lang.String value) { * * * repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUris(java.lang.String value) { if (value == null) { @@ -1916,6 +1981,9 @@ public Builder addJarFileUris(java.lang.String value) { * * * repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The jarFileUris to add. + * @return This builder for chaining. */ public Builder addAllJarFileUris(java.lang.Iterable values) { ensureJarFileUrisIsMutable(); @@ -1931,10 +1999,12 @@ public Builder addAllJarFileUris(java.lang.Iterable values) { * * * repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearJarFileUris() { jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -1946,6 +2016,9 @@ public Builder clearJarFileUris() { * * * repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1974,6 +2047,8 @@ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; @@ -1988,6 +2063,8 @@ public boolean hasLoggingConfig() { * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJobOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJobOrBuilder.java index ef26a726..0d5a1878 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJobOrBuilder.java @@ -31,6 +31,8 @@ public interface SparkSqlJobOrBuilder * * * string query_file_uri = 1; + * + * @return The queryFileUri. */ java.lang.String getQueryFileUri(); /** @@ -41,6 +43,8 @@ public interface SparkSqlJobOrBuilder * * * string query_file_uri = 1; + * + * @return The bytes for queryFileUri. */ com.google.protobuf.ByteString getQueryFileUriBytes(); @@ -52,6 +56,8 @@ public interface SparkSqlJobOrBuilder * * * .google.cloud.dataproc.v1.QueryList query_list = 2; + * + * @return Whether the queryList field is set. */ boolean hasQueryList(); /** @@ -62,6 +68,8 @@ public interface SparkSqlJobOrBuilder * * * .google.cloud.dataproc.v1.QueryList query_list = 2; + * + * @return The queryList. */ com.google.cloud.dataproc.v1.QueryList getQueryList(); /** @@ -216,6 +224,8 @@ public interface SparkSqlJobOrBuilder * * * repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the jarFileUris. */ java.util.List getJarFileUrisList(); /** @@ -226,6 +236,8 @@ public interface SparkSqlJobOrBuilder * * * repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of jarFileUris. */ int getJarFileUrisCount(); /** @@ -236,6 +248,9 @@ public interface SparkSqlJobOrBuilder * * * repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ java.lang.String getJarFileUris(int index); /** @@ -246,6 +261,9 @@ public interface SparkSqlJobOrBuilder * * * repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ com.google.protobuf.ByteString getJarFileUrisBytes(int index); @@ -259,6 +277,8 @@ public interface SparkSqlJobOrBuilder * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** @@ -271,6 +291,8 @@ public interface SparkSqlJobOrBuilder * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The loggingConfig. */ com.google.cloud.dataproc.v1.LoggingConfig getLoggingConfig(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SubmitJobRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SubmitJobRequest.java index 8e72d00f..4b121373 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SubmitJobRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SubmitJobRequest.java @@ -43,6 +43,12 @@ private SubmitJobRequest() { requestId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SubmitJobRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private SubmitJobRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -148,6 +153,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -169,6 +176,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -192,6 +201,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -212,6 +223,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -235,6 +248,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * .google.cloud.dataproc.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the job field is set. */ public boolean hasJob() { return job_ != null; @@ -247,6 +262,8 @@ public boolean hasJob() { * * * .google.cloud.dataproc.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The job. */ public com.google.cloud.dataproc.v1.Job getJob() { return job_ == null ? com.google.cloud.dataproc.v1.Job.getDefaultInstance() : job_; @@ -282,6 +299,8 @@ public com.google.cloud.dataproc.v1.JobOrBuilder getJobOrBuilder() { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -310,6 +329,8 @@ public java.lang.String getRequestId() { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -709,6 +730,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -730,6 +753,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -751,6 +776,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -770,6 +798,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -786,6 +816,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -807,6 +840,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -827,6 +862,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -847,6 +884,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -865,6 +905,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -880,6 +922,9 @@ public Builder clearRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -906,6 +951,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dataproc.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; @@ -918,6 +965,8 @@ public boolean hasJob() { * * * .google.cloud.dataproc.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The job. */ public com.google.cloud.dataproc.v1.Job getJob() { if (jobBuilder_ == null) { @@ -1083,6 +1132,8 @@ public com.google.cloud.dataproc.v1.JobOrBuilder getJobOrBuilder() { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -1111,6 +1162,8 @@ public java.lang.String getRequestId() { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -1139,6 +1192,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The requestId to set. + * @return This builder for chaining. */ public Builder setRequestId(java.lang.String value) { if (value == null) { @@ -1165,6 +1221,8 @@ public Builder setRequestId(java.lang.String value) { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1188,6 +1246,9 @@ public Builder clearRequestId() { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. */ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SubmitJobRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SubmitJobRequestOrBuilder.java index c33dfed8..f11e53c7 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SubmitJobRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SubmitJobRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface SubmitJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface SubmitJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface SubmitJobRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface SubmitJobRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface SubmitJobRequestOrBuilder * * * .google.cloud.dataproc.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the job field is set. */ boolean hasJob(); /** @@ -85,6 +95,8 @@ public interface SubmitJobRequestOrBuilder * * * .google.cloud.dataproc.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The job. */ com.google.cloud.dataproc.v1.Job getJob(); /** @@ -114,6 +126,8 @@ public interface SubmitJobRequestOrBuilder * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ java.lang.String getRequestId(); /** @@ -132,6 +146,8 @@ public interface SubmitJobRequestOrBuilder * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/TemplateParameter.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/TemplateParameter.java index 0f7af389..ac9d6688 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/TemplateParameter.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/TemplateParameter.java @@ -51,6 +51,12 @@ private TemplateParameter() { description_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new TemplateParameter(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -85,9 +91,9 @@ private TemplateParameter( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { fields_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } fields_.add(s); break; @@ -129,7 +135,7 @@ private TemplateParameter( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { fields_ = fields_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -152,7 +158,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dataproc.v1.TemplateParameter.Builder.class); } - private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** @@ -169,6 +174,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -195,6 +202,8 @@ public java.lang.String getName() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -253,6 +262,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the fields. */ public com.google.protobuf.ProtocolStringList getFieldsList() { return fields_; @@ -300,6 +311,8 @@ public com.google.protobuf.ProtocolStringList getFieldsList() { * * * repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of fields. */ public int getFieldsCount() { return fields_.size(); @@ -347,6 +360,9 @@ public int getFieldsCount() { * * * repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The fields at the given index. */ public java.lang.String getFields(int index) { return fields_.get(index); @@ -394,6 +410,9 @@ public java.lang.String getFields(int index) { * * * repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the fields at the given index. */ public com.google.protobuf.ByteString getFieldsBytes(int index) { return fields_.getByteString(index); @@ -410,6 +429,8 @@ public com.google.protobuf.ByteString getFieldsBytes(int index) { * * * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; @@ -431,6 +452,8 @@ public java.lang.String getDescription() { * * * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; @@ -456,6 +479,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * .google.cloud.dataproc.v1.ParameterValidation validation = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the validation field is set. */ public boolean hasValidation() { return validation_ != null; @@ -470,6 +495,8 @@ public boolean hasValidation() { * * .google.cloud.dataproc.v1.ParameterValidation validation = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The validation. */ public com.google.cloud.dataproc.v1.ParameterValidation getValidation() { return validation_ == null @@ -745,7 +772,7 @@ public Builder clear() { name_ = ""; fields_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); description_ = ""; if (validationBuilder_ == null) { @@ -782,11 +809,10 @@ public com.google.cloud.dataproc.v1.TemplateParameter buildPartial() { com.google.cloud.dataproc.v1.TemplateParameter result = new com.google.cloud.dataproc.v1.TemplateParameter(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.name_ = name_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { fields_ = fields_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.fields_ = fields_; result.description_ = description_; @@ -795,7 +821,6 @@ public com.google.cloud.dataproc.v1.TemplateParameter buildPartial() { } else { result.validation_ = validationBuilder_.build(); } - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -852,7 +877,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.TemplateParameter other) { if (!other.fields_.isEmpty()) { if (fields_.isEmpty()) { fields_ = other.fields_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFieldsIsMutable(); fields_.addAll(other.fields_); @@ -912,6 +937,8 @@ public Builder mergeFrom( * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -938,6 +965,8 @@ public java.lang.String getName() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -964,6 +993,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -988,6 +1020,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -1009,6 +1043,9 @@ public Builder clearName() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1025,9 +1062,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFieldsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { fields_ = new com.google.protobuf.LazyStringArrayList(fields_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** @@ -1073,6 +1110,8 @@ private void ensureFieldsIsMutable() { * * * repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the fields. */ public com.google.protobuf.ProtocolStringList getFieldsList() { return fields_.getUnmodifiableView(); @@ -1120,6 +1159,8 @@ public com.google.protobuf.ProtocolStringList getFieldsList() { * * * repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of fields. */ public int getFieldsCount() { return fields_.size(); @@ -1167,6 +1208,9 @@ public int getFieldsCount() { * * * repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The fields at the given index. */ public java.lang.String getFields(int index) { return fields_.get(index); @@ -1214,6 +1258,9 @@ public java.lang.String getFields(int index) { * * * repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the fields at the given index. */ public com.google.protobuf.ByteString getFieldsBytes(int index) { return fields_.getByteString(index); @@ -1261,6 +1308,10 @@ public com.google.protobuf.ByteString getFieldsBytes(int index) { * * * repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index to set the value at. + * @param value The fields to set. + * @return This builder for chaining. */ public Builder setFields(int index, java.lang.String value) { if (value == null) { @@ -1314,6 +1365,9 @@ public Builder setFields(int index, java.lang.String value) { * * * repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The fields to add. + * @return This builder for chaining. */ public Builder addFields(java.lang.String value) { if (value == null) { @@ -1367,6 +1421,9 @@ public Builder addFields(java.lang.String value) { * * * repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param values The fields to add. + * @return This builder for chaining. */ public Builder addAllFields(java.lang.Iterable values) { ensureFieldsIsMutable(); @@ -1417,10 +1474,12 @@ public Builder addAllFields(java.lang.Iterable values) { * * * repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearFields() { fields_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1467,6 +1526,9 @@ public Builder clearFields() { * * * repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes of the fields to add. + * @return This builder for chaining. */ public Builder addFieldsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1489,6 +1551,8 @@ public Builder addFieldsBytes(com.google.protobuf.ByteString value) { * * * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; @@ -1510,6 +1574,8 @@ public java.lang.String getDescription() { * * * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; @@ -1531,6 +1597,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The description to set. + * @return This builder for chaining. */ public Builder setDescription(java.lang.String value) { if (value == null) { @@ -1550,6 +1619,8 @@ public Builder setDescription(java.lang.String value) { * * * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearDescription() { @@ -1566,6 +1637,9 @@ public Builder clearDescription() { * * * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for description to set. + * @return This builder for chaining. */ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1594,6 +1668,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1.ParameterValidation validation = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the validation field is set. */ public boolean hasValidation() { return validationBuilder_ != null || validation_ != null; @@ -1608,6 +1684,8 @@ public boolean hasValidation() { * * .google.cloud.dataproc.v1.ParameterValidation validation = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The validation. */ public com.google.cloud.dataproc.v1.ParameterValidation getValidation() { if (validationBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/TemplateParameterOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/TemplateParameterOrBuilder.java index 97c5be22..6a433435 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/TemplateParameterOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/TemplateParameterOrBuilder.java @@ -37,6 +37,8 @@ public interface TemplateParameterOrBuilder * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. */ java.lang.String getName(); /** @@ -53,6 +55,8 @@ public interface TemplateParameterOrBuilder * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -99,6 +103,8 @@ public interface TemplateParameterOrBuilder * * * repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the fields. */ java.util.List getFieldsList(); /** @@ -144,6 +150,8 @@ public interface TemplateParameterOrBuilder * * * repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of fields. */ int getFieldsCount(); /** @@ -189,6 +197,9 @@ public interface TemplateParameterOrBuilder * * * repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The fields at the given index. */ java.lang.String getFields(int index); /** @@ -234,6 +245,9 @@ public interface TemplateParameterOrBuilder * * * repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the fields at the given index. */ com.google.protobuf.ByteString getFieldsBytes(int index); @@ -246,6 +260,8 @@ public interface TemplateParameterOrBuilder * * * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The description. */ java.lang.String getDescription(); /** @@ -257,6 +273,8 @@ public interface TemplateParameterOrBuilder * * * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); @@ -270,6 +288,8 @@ public interface TemplateParameterOrBuilder * * .google.cloud.dataproc.v1.ParameterValidation validation = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the validation field is set. */ boolean hasValidation(); /** @@ -282,6 +302,8 @@ public interface TemplateParameterOrBuilder * * .google.cloud.dataproc.v1.ParameterValidation validation = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The validation. */ com.google.cloud.dataproc.v1.ParameterValidation getValidation(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateAutoscalingPolicyRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateAutoscalingPolicyRequest.java index 7460efd5..6f11ba44 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateAutoscalingPolicyRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateAutoscalingPolicyRequest.java @@ -40,6 +40,12 @@ private UpdateAutoscalingPolicyRequest( private UpdateAutoscalingPolicyRequest() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateAutoscalingPolicyRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -53,7 +59,6 @@ private UpdateAutoscalingPolicyRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -126,6 +131,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * .google.cloud.dataproc.v1.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the policy field is set. */ public boolean hasPolicy() { return policy_ != null; @@ -140,6 +147,8 @@ public boolean hasPolicy() { * * .google.cloud.dataproc.v1.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The policy. */ public com.google.cloud.dataproc.v1.AutoscalingPolicy getPolicy() { return policy_ == null @@ -508,6 +517,8 @@ public Builder mergeFrom( * * .google.cloud.dataproc.v1.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the policy field is set. */ public boolean hasPolicy() { return policyBuilder_ != null || policy_ != null; @@ -522,6 +533,8 @@ public boolean hasPolicy() { * * .google.cloud.dataproc.v1.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The policy. */ public com.google.cloud.dataproc.v1.AutoscalingPolicy getPolicy() { if (policyBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateAutoscalingPolicyRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateAutoscalingPolicyRequestOrBuilder.java index aa98a068..7136e229 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateAutoscalingPolicyRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateAutoscalingPolicyRequestOrBuilder.java @@ -33,6 +33,8 @@ public interface UpdateAutoscalingPolicyRequestOrBuilder * * .google.cloud.dataproc.v1.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the policy field is set. */ boolean hasPolicy(); /** @@ -45,6 +47,8 @@ public interface UpdateAutoscalingPolicyRequestOrBuilder * * .google.cloud.dataproc.v1.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The policy. */ com.google.cloud.dataproc.v1.AutoscalingPolicy getPolicy(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateClusterRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateClusterRequest.java index cb47f0d7..409a0746 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateClusterRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateClusterRequest.java @@ -44,6 +44,12 @@ private UpdateClusterRequest() { requestId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateClusterRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -57,7 +63,6 @@ private UpdateClusterRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -187,6 +192,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -208,6 +215,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -231,6 +240,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -251,6 +262,8 @@ public java.lang.String getRegion() { * * * string region = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -274,6 +287,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -294,6 +309,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -318,6 +335,8 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * .google.cloud.dataproc.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the cluster field is set. */ public boolean hasCluster() { return cluster_ != null; @@ -331,6 +350,8 @@ public boolean hasCluster() { * * .google.cloud.dataproc.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The cluster. */ public com.google.cloud.dataproc.v1.Cluster getCluster() { return cluster_ == null ? com.google.cloud.dataproc.v1.Cluster.getDefaultInstance() : cluster_; @@ -367,6 +388,8 @@ public com.google.cloud.dataproc.v1.ClusterOrBuilder getClusterOrBuilder() { * * .google.protobuf.Duration graceful_decommission_timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the gracefulDecommissionTimeout field is set. */ public boolean hasGracefulDecommissionTimeout() { return gracefulDecommissionTimeout_ != null; @@ -387,6 +410,8 @@ public boolean hasGracefulDecommissionTimeout() { * * .google.protobuf.Duration graceful_decommission_timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The gracefulDecommissionTimeout. */ public com.google.protobuf.Duration getGracefulDecommissionTimeout() { return gracefulDecommissionTimeout_ == null @@ -472,6 +497,8 @@ public com.google.protobuf.DurationOrBuilder getGracefulDecommissionTimeoutOrBui * * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMask_ != null; @@ -532,6 +559,8 @@ public boolean hasUpdateMask() { * * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; @@ -615,6 +644,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * * string request_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -643,6 +674,8 @@ public java.lang.String getRequestId() { * * * string request_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -1119,6 +1152,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -1140,6 +1175,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -1161,6 +1198,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -1180,6 +1220,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1196,6 +1238,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1217,6 +1262,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -1237,6 +1284,8 @@ public java.lang.String getRegion() { * * * string region = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -1257,6 +1306,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -1275,6 +1327,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -1290,6 +1344,9 @@ public Builder clearRegion() { * * * string region = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1311,6 +1368,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -1331,6 +1390,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -1351,6 +1412,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -1369,6 +1433,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -1384,6 +1450,9 @@ public Builder clearClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1412,6 +1481,8 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the cluster field is set. */ public boolean hasCluster() { return clusterBuilder_ != null || cluster_ != null; @@ -1426,6 +1497,8 @@ public boolean hasCluster() { * * .google.cloud.dataproc.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The cluster. */ public com.google.cloud.dataproc.v1.Cluster getCluster() { if (clusterBuilder_ == null) { @@ -1617,6 +1690,8 @@ public com.google.cloud.dataproc.v1.ClusterOrBuilder getClusterOrBuilder() { * * .google.protobuf.Duration graceful_decommission_timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the gracefulDecommissionTimeout field is set. */ public boolean hasGracefulDecommissionTimeout() { return gracefulDecommissionTimeoutBuilder_ != null || gracefulDecommissionTimeout_ != null; @@ -1637,6 +1712,8 @@ public boolean hasGracefulDecommissionTimeout() { * * .google.protobuf.Duration graceful_decommission_timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The gracefulDecommissionTimeout. */ public com.google.protobuf.Duration getGracefulDecommissionTimeout() { if (gracefulDecommissionTimeoutBuilder_ == null) { @@ -1911,6 +1988,8 @@ public com.google.protobuf.DurationOrBuilder getGracefulDecommissionTimeoutOrBui * * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; @@ -1971,6 +2050,8 @@ public boolean hasUpdateMask() { * * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { @@ -2477,6 +2558,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * * string request_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -2505,6 +2588,8 @@ public java.lang.String getRequestId() { * * * string request_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -2533,6 +2618,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * * * string request_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The requestId to set. + * @return This builder for chaining. */ public Builder setRequestId(java.lang.String value) { if (value == null) { @@ -2559,6 +2647,8 @@ public Builder setRequestId(java.lang.String value) { * * * string request_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearRequestId() { @@ -2582,6 +2672,9 @@ public Builder clearRequestId() { * * * string request_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. */ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateClusterRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateClusterRequestOrBuilder.java index fdc705c2..d024b9d5 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateClusterRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateClusterRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface UpdateClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface UpdateClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface UpdateClusterRequestOrBuilder * * * string region = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface UpdateClusterRequestOrBuilder * * * string region = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface UpdateClusterRequestOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -85,6 +95,8 @@ public interface UpdateClusterRequestOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); @@ -97,6 +109,8 @@ public interface UpdateClusterRequestOrBuilder * * .google.cloud.dataproc.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the cluster field is set. */ boolean hasCluster(); /** @@ -108,6 +122,8 @@ public interface UpdateClusterRequestOrBuilder * * .google.cloud.dataproc.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The cluster. */ com.google.cloud.dataproc.v1.Cluster getCluster(); /** @@ -138,6 +154,8 @@ public interface UpdateClusterRequestOrBuilder * * .google.protobuf.Duration graceful_decommission_timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the gracefulDecommissionTimeout field is set. */ boolean hasGracefulDecommissionTimeout(); /** @@ -156,6 +174,8 @@ public interface UpdateClusterRequestOrBuilder * * .google.protobuf.Duration graceful_decommission_timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The gracefulDecommissionTimeout. */ com.google.protobuf.Duration getGracefulDecommissionTimeout(); /** @@ -233,6 +253,8 @@ public interface UpdateClusterRequestOrBuilder * * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** @@ -291,6 +313,8 @@ public interface UpdateClusterRequestOrBuilder * * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** @@ -368,6 +392,8 @@ public interface UpdateClusterRequestOrBuilder * * * string request_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ java.lang.String getRequestId(); /** @@ -386,6 +412,8 @@ public interface UpdateClusterRequestOrBuilder * * * string request_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateJobRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateJobRequest.java index 0345087c..77e7f194 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateJobRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateJobRequest.java @@ -43,6 +43,12 @@ private UpdateJobRequest() { jobId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateJobRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private UpdateJobRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -163,6 +168,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -184,6 +191,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -207,6 +216,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -227,6 +238,8 @@ public java.lang.String getRegion() { * * * string region = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -250,6 +263,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -270,6 +285,8 @@ public java.lang.String getJobId() { * * * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -293,6 +310,8 @@ public com.google.protobuf.ByteString getJobIdBytes() { * * * .google.cloud.dataproc.v1.Job job = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the job field is set. */ public boolean hasJob() { return job_ != null; @@ -305,6 +324,8 @@ public boolean hasJob() { * * * .google.cloud.dataproc.v1.Job job = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The job. */ public com.google.cloud.dataproc.v1.Job getJob() { return job_ == null ? com.google.cloud.dataproc.v1.Job.getDefaultInstance() : job_; @@ -338,6 +359,8 @@ public com.google.cloud.dataproc.v1.JobOrBuilder getJobOrBuilder() { * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMask_ != null; @@ -356,6 +379,8 @@ public boolean hasUpdateMask() { * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; @@ -793,6 +818,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -814,6 +841,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -835,6 +864,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -854,6 +886,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -870,6 +904,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -891,6 +928,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -911,6 +950,8 @@ public java.lang.String getRegion() { * * * string region = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -931,6 +972,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -949,6 +993,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -964,6 +1010,9 @@ public Builder clearRegion() { * * * string region = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -985,6 +1034,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -1005,6 +1056,8 @@ public java.lang.String getJobId() { * * * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -1025,6 +1078,9 @@ public com.google.protobuf.ByteString getJobIdBytes() { * * * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The jobId to set. + * @return This builder for chaining. */ public Builder setJobId(java.lang.String value) { if (value == null) { @@ -1043,6 +1099,8 @@ public Builder setJobId(java.lang.String value) { * * * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearJobId() { @@ -1058,6 +1116,9 @@ public Builder clearJobId() { * * * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for jobId to set. + * @return This builder for chaining. */ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1084,6 +1145,8 @@ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dataproc.v1.Job job = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; @@ -1096,6 +1159,8 @@ public boolean hasJob() { * * * .google.cloud.dataproc.v1.Job job = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The job. */ public com.google.cloud.dataproc.v1.Job getJob() { if (jobBuilder_ == null) { @@ -1264,6 +1329,8 @@ public com.google.cloud.dataproc.v1.JobOrBuilder getJobOrBuilder() { * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; @@ -1282,6 +1349,8 @@ public boolean hasUpdateMask() { * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateJobRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateJobRequestOrBuilder.java index a7c8e07f..86c23574 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateJobRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateJobRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface UpdateJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface UpdateJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface UpdateJobRequestOrBuilder * * * string region = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface UpdateJobRequestOrBuilder * * * string region = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface UpdateJobRequestOrBuilder * * * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ java.lang.String getJobId(); /** @@ -85,6 +95,8 @@ public interface UpdateJobRequestOrBuilder * * * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ com.google.protobuf.ByteString getJobIdBytes(); @@ -96,6 +108,8 @@ public interface UpdateJobRequestOrBuilder * * * .google.cloud.dataproc.v1.Job job = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the job field is set. */ boolean hasJob(); /** @@ -106,6 +120,8 @@ public interface UpdateJobRequestOrBuilder * * * .google.cloud.dataproc.v1.Job job = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The job. */ com.google.cloud.dataproc.v1.Job getJob(); /** @@ -133,6 +149,8 @@ public interface UpdateJobRequestOrBuilder * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** @@ -149,6 +167,8 @@ public interface UpdateJobRequestOrBuilder * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateWorkflowTemplateRequest.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateWorkflowTemplateRequest.java index b99ef7a1..85312213 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateWorkflowTemplateRequest.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateWorkflowTemplateRequest.java @@ -39,6 +39,12 @@ private UpdateWorkflowTemplateRequest(com.google.protobuf.GeneratedMessageV3.Bui private UpdateWorkflowTemplateRequest() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateWorkflowTemplateRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private UpdateWorkflowTemplateRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -126,6 +131,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * .google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return Whether the template field is set. */ public boolean hasTemplate() { return template_ != null; @@ -141,6 +148,8 @@ public boolean hasTemplate() { * * .google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The template. */ public com.google.cloud.dataproc.v1.WorkflowTemplate getTemplate() { return template_ == null @@ -511,6 +520,8 @@ public Builder mergeFrom( * * .google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return Whether the template field is set. */ public boolean hasTemplate() { return templateBuilder_ != null || template_ != null; @@ -526,6 +537,8 @@ public boolean hasTemplate() { * * .google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The template. */ public com.google.cloud.dataproc.v1.WorkflowTemplate getTemplate() { if (templateBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateWorkflowTemplateRequestOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateWorkflowTemplateRequestOrBuilder.java index f8311ec9..80e4045a 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateWorkflowTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateWorkflowTemplateRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface UpdateWorkflowTemplateRequestOrBuilder * * .google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return Whether the template field is set. */ boolean hasTemplate(); /** @@ -47,6 +49,8 @@ public interface UpdateWorkflowTemplateRequestOrBuilder * * .google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The template. */ com.google.cloud.dataproc.v1.WorkflowTemplate getTemplate(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ValueValidation.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ValueValidation.java index e3ef63da..fe033dc6 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ValueValidation.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ValueValidation.java @@ -41,6 +41,12 @@ private ValueValidation() { values_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ValueValidation(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -122,6 +128,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the values. */ public com.google.protobuf.ProtocolStringList getValuesList() { return values_; @@ -134,6 +142,8 @@ public com.google.protobuf.ProtocolStringList getValuesList() { * * * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of values. */ public int getValuesCount() { return values_.size(); @@ -146,6 +156,9 @@ public int getValuesCount() { * * * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The values at the given index. */ public java.lang.String getValues(int index) { return values_.get(index); @@ -158,6 +171,9 @@ public java.lang.String getValues(int index) { * * * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the values at the given index. */ public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); @@ -516,6 +532,8 @@ private void ensureValuesIsMutable() { * * * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the values. */ public com.google.protobuf.ProtocolStringList getValuesList() { return values_.getUnmodifiableView(); @@ -528,6 +546,8 @@ public com.google.protobuf.ProtocolStringList getValuesList() { * * * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of values. */ public int getValuesCount() { return values_.size(); @@ -540,6 +560,9 @@ public int getValuesCount() { * * * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The values at the given index. */ public java.lang.String getValues(int index) { return values_.get(index); @@ -552,6 +575,9 @@ public java.lang.String getValues(int index) { * * * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the values at the given index. */ public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); @@ -564,6 +590,10 @@ public com.google.protobuf.ByteString getValuesBytes(int index) { * * * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index to set the value at. + * @param value The values to set. + * @return This builder for chaining. */ public Builder setValues(int index, java.lang.String value) { if (value == null) { @@ -582,6 +612,9 @@ public Builder setValues(int index, java.lang.String value) { * * * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The values to add. + * @return This builder for chaining. */ public Builder addValues(java.lang.String value) { if (value == null) { @@ -600,6 +633,9 @@ public Builder addValues(java.lang.String value) { * * * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param values The values to add. + * @return This builder for chaining. */ public Builder addAllValues(java.lang.Iterable values) { ensureValuesIsMutable(); @@ -615,6 +651,8 @@ public Builder addAllValues(java.lang.Iterable values) { * * * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearValues() { values_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -630,6 +668,9 @@ public Builder clearValues() { * * * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes of the values to add. + * @return This builder for chaining. */ public Builder addValuesBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ValueValidationOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ValueValidationOrBuilder.java index 980a9356..e337508c 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ValueValidationOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ValueValidationOrBuilder.java @@ -31,6 +31,8 @@ public interface ValueValidationOrBuilder * * * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the values. */ java.util.List getValuesList(); /** @@ -41,6 +43,8 @@ public interface ValueValidationOrBuilder * * * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of values. */ int getValuesCount(); /** @@ -51,6 +55,9 @@ public interface ValueValidationOrBuilder * * * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The values at the given index. */ java.lang.String getValues(int index); /** @@ -61,6 +68,9 @@ public interface ValueValidationOrBuilder * * * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the values at the given index. */ com.google.protobuf.ByteString getValuesBytes(int index); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowGraph.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowGraph.java index 2772aabc..baef1081 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowGraph.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowGraph.java @@ -41,6 +41,12 @@ private WorkflowGraph() { nodes_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WorkflowGraph(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowMetadata.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowMetadata.java index 07c481f5..9af90628 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowMetadata.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowMetadata.java @@ -44,6 +44,12 @@ private WorkflowMetadata() { clusterUuid_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WorkflowMetadata(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -144,11 +150,11 @@ private WorkflowMetadata( } case 66: { - if (!((mutable_bitField0_ & 0x00000080) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { parameters_ = com.google.protobuf.MapField.newMapField( ParametersDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000080; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry parameters__ = input.readMessage( @@ -341,12 +347,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static State valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static State forNumber(int value) { switch (value) { case 0: @@ -406,7 +420,6 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataproc.v1.WorkflowMetadata.State) } - private int bitField0_; public static final int TEMPLATE_FIELD_NUMBER = 1; private volatile java.lang.Object template_; /** @@ -424,6 +437,8 @@ private State(int value) { * * * string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The template. */ public java.lang.String getTemplate() { java.lang.Object ref = template_; @@ -451,6 +466,8 @@ public java.lang.String getTemplate() { * * * string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for template. */ public com.google.protobuf.ByteString getTemplateBytes() { java.lang.Object ref = template_; @@ -475,6 +492,8 @@ public com.google.protobuf.ByteString getTemplateBytes() { * * * int32 version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The version. */ public int getVersion() { return version_; @@ -492,6 +511,8 @@ public int getVersion() { * * .google.cloud.dataproc.v1.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the createCluster field is set. */ public boolean hasCreateCluster() { return createCluster_ != null; @@ -506,6 +527,8 @@ public boolean hasCreateCluster() { * * .google.cloud.dataproc.v1.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The createCluster. */ public com.google.cloud.dataproc.v1.ClusterOperation getCreateCluster() { return createCluster_ == null @@ -539,6 +562,8 @@ public com.google.cloud.dataproc.v1.ClusterOperationOrBuilder getCreateClusterOr * * .google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the graph field is set. */ public boolean hasGraph() { return graph_ != null; @@ -553,6 +578,8 @@ public boolean hasGraph() { * * .google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The graph. */ public com.google.cloud.dataproc.v1.WorkflowGraph getGraph() { return graph_ == null @@ -586,6 +613,8 @@ public com.google.cloud.dataproc.v1.WorkflowGraphOrBuilder getGraphOrBuilder() { * * .google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the deleteCluster field is set. */ public boolean hasDeleteCluster() { return deleteCluster_ != null; @@ -600,6 +629,8 @@ public boolean hasDeleteCluster() { * * .google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The deleteCluster. */ public com.google.cloud.dataproc.v1.ClusterOperation getDeleteCluster() { return deleteCluster_ == null @@ -633,6 +664,8 @@ public com.google.cloud.dataproc.v1.ClusterOperationOrBuilder getDeleteClusterOr * * .google.cloud.dataproc.v1.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -647,6 +680,8 @@ public int getStateValue() { * * .google.cloud.dataproc.v1.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1.WorkflowMetadata.State getState() { @SuppressWarnings("deprecation") @@ -667,6 +702,8 @@ public com.google.cloud.dataproc.v1.WorkflowMetadata.State getState() { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -687,6 +724,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -805,6 +844,8 @@ public java.lang.String getParametersOrThrow(java.lang.String key) { * * .google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTime_ != null; @@ -818,6 +859,8 @@ public boolean hasStartTime() { * * .google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; @@ -847,6 +890,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * .google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTime_ != null; @@ -860,6 +905,8 @@ public boolean hasEndTime() { * * .google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; @@ -888,6 +935,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * * string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -908,6 +957,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -1337,7 +1388,6 @@ public com.google.cloud.dataproc.v1.WorkflowMetadata buildPartial() { com.google.cloud.dataproc.v1.WorkflowMetadata result = new com.google.cloud.dataproc.v1.WorkflowMetadata(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.template_ = template_; result.version_ = version_; if (createClusterBuilder_ == null) { @@ -1370,7 +1420,6 @@ public com.google.cloud.dataproc.v1.WorkflowMetadata buildPartial() { result.endTime_ = endTimeBuilder_.build(); } result.clusterUuid_ = clusterUuid_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1501,6 +1550,8 @@ public Builder mergeFrom( * * * string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The template. */ public java.lang.String getTemplate() { java.lang.Object ref = template_; @@ -1528,6 +1579,8 @@ public java.lang.String getTemplate() { * * * string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for template. */ public com.google.protobuf.ByteString getTemplateBytes() { java.lang.Object ref = template_; @@ -1555,6 +1608,9 @@ public com.google.protobuf.ByteString getTemplateBytes() { * * * string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The template to set. + * @return This builder for chaining. */ public Builder setTemplate(java.lang.String value) { if (value == null) { @@ -1580,6 +1636,8 @@ public Builder setTemplate(java.lang.String value) { * * * string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearTemplate() { @@ -1602,6 +1660,9 @@ public Builder clearTemplate() { * * * string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for template to set. + * @return This builder for chaining. */ public Builder setTemplateBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1624,6 +1685,8 @@ public Builder setTemplateBytes(com.google.protobuf.ByteString value) { * * * int32 version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The version. */ public int getVersion() { return version_; @@ -1637,6 +1700,9 @@ public int getVersion() { * * * int32 version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The version to set. + * @return This builder for chaining. */ public Builder setVersion(int value) { @@ -1653,6 +1719,8 @@ public Builder setVersion(int value) { * * * int32 version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearVersion() { @@ -1677,6 +1745,8 @@ public Builder clearVersion() { * * .google.cloud.dataproc.v1.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the createCluster field is set. */ public boolean hasCreateCluster() { return createClusterBuilder_ != null || createCluster_ != null; @@ -1691,6 +1761,8 @@ public boolean hasCreateCluster() { * * .google.cloud.dataproc.v1.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The createCluster. */ public com.google.cloud.dataproc.v1.ClusterOperation getCreateCluster() { if (createClusterBuilder_ == null) { @@ -1877,6 +1949,8 @@ public com.google.cloud.dataproc.v1.ClusterOperationOrBuilder getCreateClusterOr * * .google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the graph field is set. */ public boolean hasGraph() { return graphBuilder_ != null || graph_ != null; @@ -1891,6 +1965,8 @@ public boolean hasGraph() { * * .google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The graph. */ public com.google.cloud.dataproc.v1.WorkflowGraph getGraph() { if (graphBuilder_ == null) { @@ -2076,6 +2152,8 @@ public com.google.cloud.dataproc.v1.WorkflowGraphOrBuilder getGraphOrBuilder() { * * .google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the deleteCluster field is set. */ public boolean hasDeleteCluster() { return deleteClusterBuilder_ != null || deleteCluster_ != null; @@ -2090,6 +2168,8 @@ public boolean hasDeleteCluster() { * * .google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The deleteCluster. */ public com.google.cloud.dataproc.v1.ClusterOperation getDeleteCluster() { if (deleteClusterBuilder_ == null) { @@ -2271,6 +2351,8 @@ public com.google.cloud.dataproc.v1.ClusterOperationOrBuilder getDeleteClusterOr * * .google.cloud.dataproc.v1.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -2285,6 +2367,9 @@ public int getStateValue() { * * .google.cloud.dataproc.v1.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. */ public Builder setStateValue(int value) { state_ = value; @@ -2301,6 +2386,8 @@ public Builder setStateValue(int value) { * * .google.cloud.dataproc.v1.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1.WorkflowMetadata.State getState() { @SuppressWarnings("deprecation") @@ -2320,6 +2407,9 @@ public com.google.cloud.dataproc.v1.WorkflowMetadata.State getState() { * * .google.cloud.dataproc.v1.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The state to set. + * @return This builder for chaining. */ public Builder setState(com.google.cloud.dataproc.v1.WorkflowMetadata.State value) { if (value == null) { @@ -2340,6 +2430,8 @@ public Builder setState(com.google.cloud.dataproc.v1.WorkflowMetadata.State valu * * .google.cloud.dataproc.v1.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ public Builder clearState() { @@ -2357,6 +2449,8 @@ public Builder clearState() { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -2377,6 +2471,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -2397,6 +2493,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -2415,6 +2514,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -2430,6 +2531,9 @@ public Builder clearClusterName() { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2612,6 +2716,8 @@ public Builder putAllParameters(java.util.Map.google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; @@ -2625,6 +2731,8 @@ public boolean hasStartTime() { * * .google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { @@ -2796,6 +2904,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * .google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; @@ -2809,6 +2919,8 @@ public boolean hasEndTime() { * * .google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { if (endTimeBuilder_ == null) { @@ -2974,6 +3086,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * * string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -2994,6 +3108,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -3014,6 +3130,9 @@ public com.google.protobuf.ByteString getClusterUuidBytes() { * * * string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuid(java.lang.String value) { if (value == null) { @@ -3032,6 +3151,8 @@ public Builder setClusterUuid(java.lang.String value) { * * * string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearClusterUuid() { @@ -3047,6 +3168,9 @@ public Builder clearClusterUuid() { * * * string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuidBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowMetadataOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowMetadataOrBuilder.java index b0f39267..71139ba6 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowMetadataOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowMetadataOrBuilder.java @@ -38,6 +38,8 @@ public interface WorkflowMetadataOrBuilder * * * string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The template. */ java.lang.String getTemplate(); /** @@ -55,6 +57,8 @@ public interface WorkflowMetadataOrBuilder * * * string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for template. */ com.google.protobuf.ByteString getTemplateBytes(); @@ -67,6 +71,8 @@ public interface WorkflowMetadataOrBuilder * * * int32 version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The version. */ int getVersion(); @@ -80,6 +86,8 @@ public interface WorkflowMetadataOrBuilder * * .google.cloud.dataproc.v1.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the createCluster field is set. */ boolean hasCreateCluster(); /** @@ -92,6 +100,8 @@ public interface WorkflowMetadataOrBuilder * * .google.cloud.dataproc.v1.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The createCluster. */ com.google.cloud.dataproc.v1.ClusterOperation getCreateCluster(); /** @@ -117,6 +127,8 @@ public interface WorkflowMetadataOrBuilder * * .google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the graph field is set. */ boolean hasGraph(); /** @@ -129,6 +141,8 @@ public interface WorkflowMetadataOrBuilder * * .google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The graph. */ com.google.cloud.dataproc.v1.WorkflowGraph getGraph(); /** @@ -154,6 +168,8 @@ public interface WorkflowMetadataOrBuilder * * .google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the deleteCluster field is set. */ boolean hasDeleteCluster(); /** @@ -166,6 +182,8 @@ public interface WorkflowMetadataOrBuilder * * .google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The deleteCluster. */ com.google.cloud.dataproc.v1.ClusterOperation getDeleteCluster(); /** @@ -191,6 +209,8 @@ public interface WorkflowMetadataOrBuilder * * .google.cloud.dataproc.v1.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ int getStateValue(); /** @@ -203,6 +223,8 @@ public interface WorkflowMetadataOrBuilder * * .google.cloud.dataproc.v1.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ com.google.cloud.dataproc.v1.WorkflowMetadata.State getState(); @@ -214,6 +236,8 @@ public interface WorkflowMetadataOrBuilder * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -224,6 +248,8 @@ public interface WorkflowMetadataOrBuilder * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); @@ -290,6 +316,8 @@ public interface WorkflowMetadataOrBuilder * * .google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the startTime field is set. */ boolean hasStartTime(); /** @@ -301,6 +329,8 @@ public interface WorkflowMetadataOrBuilder * * .google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** @@ -324,6 +354,8 @@ public interface WorkflowMetadataOrBuilder * * .google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the endTime field is set. */ boolean hasEndTime(); /** @@ -335,6 +367,8 @@ public interface WorkflowMetadataOrBuilder * * .google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** @@ -357,6 +391,8 @@ public interface WorkflowMetadataOrBuilder * * * string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterUuid. */ java.lang.String getClusterUuid(); /** @@ -367,6 +403,8 @@ public interface WorkflowMetadataOrBuilder * * * string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterUuid. */ com.google.protobuf.ByteString getClusterUuidBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowNode.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowNode.java index ea2952e9..27cab0e1 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowNode.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowNode.java @@ -45,6 +45,12 @@ private WorkflowNode() { error_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WorkflowNode(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -79,9 +85,9 @@ private WorkflowNode( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { prerequisiteStepIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } prerequisiteStepIds_.add(s); break; @@ -121,7 +127,7 @@ private WorkflowNode( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { prerequisiteStepIds_ = prerequisiteStepIds_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -288,12 +294,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static NodeState valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static NodeState forNumber(int value) { switch (value) { case 0: @@ -357,7 +371,6 @@ private NodeState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataproc.v1.WorkflowNode.NodeState) } - private int bitField0_; public static final int STEP_ID_FIELD_NUMBER = 1; private volatile java.lang.Object stepId_; /** @@ -368,6 +381,8 @@ private NodeState(int value) { * * * string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The stepId. */ public java.lang.String getStepId() { java.lang.Object ref = stepId_; @@ -388,6 +403,8 @@ public java.lang.String getStepId() { * * * string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for stepId. */ public com.google.protobuf.ByteString getStepIdBytes() { java.lang.Object ref = stepId_; @@ -412,6 +429,8 @@ public com.google.protobuf.ByteString getStepIdBytes() { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return A list containing the prerequisiteStepIds. */ public com.google.protobuf.ProtocolStringList getPrerequisiteStepIdsList() { return prerequisiteStepIds_; @@ -425,6 +444,8 @@ public com.google.protobuf.ProtocolStringList getPrerequisiteStepIdsList() { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The count of prerequisiteStepIds. */ public int getPrerequisiteStepIdsCount() { return prerequisiteStepIds_.size(); @@ -438,6 +459,9 @@ public int getPrerequisiteStepIdsCount() { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param index The index of the element to return. + * @return The prerequisiteStepIds at the given index. */ public java.lang.String getPrerequisiteStepIds(int index) { return prerequisiteStepIds_.get(index); @@ -451,6 +475,9 @@ public java.lang.String getPrerequisiteStepIds(int index) { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param index The index of the value to return. + * @return The bytes of the prerequisiteStepIds at the given index. */ public com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index) { return prerequisiteStepIds_.getByteString(index); @@ -466,6 +493,8 @@ public com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index) { * * * string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -486,6 +515,8 @@ public java.lang.String getJobId() { * * * string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -511,6 +542,8 @@ public com.google.protobuf.ByteString getJobIdBytes() { * * .google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -525,6 +558,8 @@ public int getStateValue() { * * .google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1.WorkflowNode.NodeState getState() { @SuppressWarnings("deprecation") @@ -545,6 +580,8 @@ public com.google.cloud.dataproc.v1.WorkflowNode.NodeState getState() { * * * string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The error. */ public java.lang.String getError() { java.lang.Object ref = error_; @@ -565,6 +602,8 @@ public java.lang.String getError() { * * * string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for error. */ public com.google.protobuf.ByteString getErrorBytes() { java.lang.Object ref = error_; @@ -830,7 +869,7 @@ public Builder clear() { stepId_ = ""; prerequisiteStepIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); jobId_ = ""; state_ = 0; @@ -865,17 +904,15 @@ public com.google.cloud.dataproc.v1.WorkflowNode buildPartial() { com.google.cloud.dataproc.v1.WorkflowNode result = new com.google.cloud.dataproc.v1.WorkflowNode(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.stepId_ = stepId_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { prerequisiteStepIds_ = prerequisiteStepIds_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.prerequisiteStepIds_ = prerequisiteStepIds_; result.jobId_ = jobId_; result.state_ = state_; result.error_ = error_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -932,7 +969,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.WorkflowNode other) { if (!other.prerequisiteStepIds_.isEmpty()) { if (prerequisiteStepIds_.isEmpty()) { prerequisiteStepIds_ = other.prerequisiteStepIds_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePrerequisiteStepIdsIsMutable(); prerequisiteStepIds_.addAll(other.prerequisiteStepIds_); @@ -990,6 +1027,8 @@ public Builder mergeFrom( * * * string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The stepId. */ public java.lang.String getStepId() { java.lang.Object ref = stepId_; @@ -1010,6 +1049,8 @@ public java.lang.String getStepId() { * * * string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for stepId. */ public com.google.protobuf.ByteString getStepIdBytes() { java.lang.Object ref = stepId_; @@ -1030,6 +1071,9 @@ public com.google.protobuf.ByteString getStepIdBytes() { * * * string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The stepId to set. + * @return This builder for chaining. */ public Builder setStepId(java.lang.String value) { if (value == null) { @@ -1048,6 +1092,8 @@ public Builder setStepId(java.lang.String value) { * * * string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearStepId() { @@ -1063,6 +1109,9 @@ public Builder clearStepId() { * * * string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for stepId to set. + * @return This builder for chaining. */ public Builder setStepIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1079,9 +1128,9 @@ public Builder setStepIdBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePrerequisiteStepIdsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { prerequisiteStepIds_ = new com.google.protobuf.LazyStringArrayList(prerequisiteStepIds_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** @@ -1093,6 +1142,8 @@ private void ensurePrerequisiteStepIdsIsMutable() { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return A list containing the prerequisiteStepIds. */ public com.google.protobuf.ProtocolStringList getPrerequisiteStepIdsList() { return prerequisiteStepIds_.getUnmodifiableView(); @@ -1106,6 +1157,8 @@ public com.google.protobuf.ProtocolStringList getPrerequisiteStepIdsList() { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The count of prerequisiteStepIds. */ public int getPrerequisiteStepIdsCount() { return prerequisiteStepIds_.size(); @@ -1119,6 +1172,9 @@ public int getPrerequisiteStepIdsCount() { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param index The index of the element to return. + * @return The prerequisiteStepIds at the given index. */ public java.lang.String getPrerequisiteStepIds(int index) { return prerequisiteStepIds_.get(index); @@ -1132,6 +1188,9 @@ public java.lang.String getPrerequisiteStepIds(int index) { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param index The index of the value to return. + * @return The bytes of the prerequisiteStepIds at the given index. */ public com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index) { return prerequisiteStepIds_.getByteString(index); @@ -1145,6 +1204,10 @@ public com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index) { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param index The index to set the value at. + * @param value The prerequisiteStepIds to set. + * @return This builder for chaining. */ public Builder setPrerequisiteStepIds(int index, java.lang.String value) { if (value == null) { @@ -1164,6 +1227,9 @@ public Builder setPrerequisiteStepIds(int index, java.lang.String value) { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The prerequisiteStepIds to add. + * @return This builder for chaining. */ public Builder addPrerequisiteStepIds(java.lang.String value) { if (value == null) { @@ -1183,6 +1249,9 @@ public Builder addPrerequisiteStepIds(java.lang.String value) { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param values The prerequisiteStepIds to add. + * @return This builder for chaining. */ public Builder addAllPrerequisiteStepIds(java.lang.Iterable values) { ensurePrerequisiteStepIdsIsMutable(); @@ -1199,10 +1268,12 @@ public Builder addAllPrerequisiteStepIds(java.lang.Iterable va * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ public Builder clearPrerequisiteStepIds() { prerequisiteStepIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1215,6 +1286,9 @@ public Builder clearPrerequisiteStepIds() { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The bytes of the prerequisiteStepIds to add. + * @return This builder for chaining. */ public Builder addPrerequisiteStepIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1236,6 +1310,8 @@ public Builder addPrerequisiteStepIdsBytes(com.google.protobuf.ByteString value) * * * string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -1256,6 +1332,8 @@ public java.lang.String getJobId() { * * * string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -1276,6 +1354,9 @@ public com.google.protobuf.ByteString getJobIdBytes() { * * * string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The jobId to set. + * @return This builder for chaining. */ public Builder setJobId(java.lang.String value) { if (value == null) { @@ -1294,6 +1375,8 @@ public Builder setJobId(java.lang.String value) { * * * string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearJobId() { @@ -1309,6 +1392,9 @@ public Builder clearJobId() { * * * string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for jobId to set. + * @return This builder for chaining. */ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1332,6 +1418,8 @@ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -1346,6 +1434,9 @@ public int getStateValue() { * * .google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. */ public Builder setStateValue(int value) { state_ = value; @@ -1362,6 +1453,8 @@ public Builder setStateValue(int value) { * * .google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1.WorkflowNode.NodeState getState() { @SuppressWarnings("deprecation") @@ -1381,6 +1474,9 @@ public com.google.cloud.dataproc.v1.WorkflowNode.NodeState getState() { * * .google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The state to set. + * @return This builder for chaining. */ public Builder setState(com.google.cloud.dataproc.v1.WorkflowNode.NodeState value) { if (value == null) { @@ -1401,6 +1497,8 @@ public Builder setState(com.google.cloud.dataproc.v1.WorkflowNode.NodeState valu * * .google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ public Builder clearState() { @@ -1418,6 +1516,8 @@ public Builder clearState() { * * * string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The error. */ public java.lang.String getError() { java.lang.Object ref = error_; @@ -1438,6 +1538,8 @@ public java.lang.String getError() { * * * string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for error. */ public com.google.protobuf.ByteString getErrorBytes() { java.lang.Object ref = error_; @@ -1458,6 +1560,9 @@ public com.google.protobuf.ByteString getErrorBytes() { * * * string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The error to set. + * @return This builder for chaining. */ public Builder setError(java.lang.String value) { if (value == null) { @@ -1476,6 +1581,8 @@ public Builder setError(java.lang.String value) { * * * string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearError() { @@ -1491,6 +1598,9 @@ public Builder clearError() { * * * string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for error to set. + * @return This builder for chaining. */ public Builder setErrorBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowNodeOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowNodeOrBuilder.java index 61c06178..01df7401 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowNodeOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowNodeOrBuilder.java @@ -31,6 +31,8 @@ public interface WorkflowNodeOrBuilder * * * string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The stepId. */ java.lang.String getStepId(); /** @@ -41,6 +43,8 @@ public interface WorkflowNodeOrBuilder * * * string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for stepId. */ com.google.protobuf.ByteString getStepIdBytes(); @@ -53,6 +57,8 @@ public interface WorkflowNodeOrBuilder * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return A list containing the prerequisiteStepIds. */ java.util.List getPrerequisiteStepIdsList(); /** @@ -64,6 +70,8 @@ public interface WorkflowNodeOrBuilder * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The count of prerequisiteStepIds. */ int getPrerequisiteStepIdsCount(); /** @@ -75,6 +83,9 @@ public interface WorkflowNodeOrBuilder * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param index The index of the element to return. + * @return The prerequisiteStepIds at the given index. */ java.lang.String getPrerequisiteStepIds(int index); /** @@ -86,6 +97,9 @@ public interface WorkflowNodeOrBuilder * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param index The index of the value to return. + * @return The bytes of the prerequisiteStepIds at the given index. */ com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index); @@ -97,6 +111,8 @@ public interface WorkflowNodeOrBuilder * * * string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The jobId. */ java.lang.String getJobId(); /** @@ -107,6 +123,8 @@ public interface WorkflowNodeOrBuilder * * * string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for jobId. */ com.google.protobuf.ByteString getJobIdBytes(); @@ -120,6 +138,8 @@ public interface WorkflowNodeOrBuilder * * .google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ int getStateValue(); /** @@ -132,6 +152,8 @@ public interface WorkflowNodeOrBuilder * * .google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ com.google.cloud.dataproc.v1.WorkflowNode.NodeState getState(); @@ -143,6 +165,8 @@ public interface WorkflowNodeOrBuilder * * * string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The error. */ java.lang.String getError(); /** @@ -153,6 +177,8 @@ public interface WorkflowNodeOrBuilder * * * string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for error. */ com.google.protobuf.ByteString getErrorBytes(); } diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplate.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplate.java index 8bf9bd2d..f53d44b8 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplate.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplate.java @@ -44,6 +44,12 @@ private WorkflowTemplate() { parameters_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WorkflowTemplate(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -119,10 +125,10 @@ private WorkflowTemplate( } case 50: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( @@ -149,9 +155,9 @@ private WorkflowTemplate( } case 66: { - if (!((mutable_bitField0_ & 0x00000080) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { jobs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000080; + mutable_bitField0_ |= 0x00000002; } jobs_.add( input.readMessage( @@ -160,10 +166,10 @@ private WorkflowTemplate( } case 74: { - if (!((mutable_bitField0_ & 0x00000100) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { parameters_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000100; + mutable_bitField0_ |= 0x00000004; } parameters_.add( input.readMessage( @@ -184,10 +190,10 @@ private WorkflowTemplate( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000080) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { jobs_ = java.util.Collections.unmodifiableList(jobs_); } - if (((mutable_bitField0_ & 0x00000100) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { parameters_ = java.util.Collections.unmodifiableList(parameters_); } this.unknownFields = unknownFields.build(); @@ -221,10 +227,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1.WorkflowTemplate.Builder.class); } - private int bitField0_; public static final int ID_FIELD_NUMBER = 2; private volatile java.lang.Object id_; - /** string id = 2 [(.google.api.field_behavior) = REQUIRED]; */ + /** + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The id. + */ public java.lang.String getId() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { @@ -236,7 +245,11 @@ public java.lang.String getId() { return s; } } - /** string id = 2 [(.google.api.field_behavior) = REQUIRED]; */ + /** + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for id. + */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { @@ -266,6 +279,8 @@ public com.google.protobuf.ByteString getIdBytes() { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -293,6 +308,8 @@ public java.lang.String getName() { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -323,6 +340,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * int32 version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. */ public int getVersion() { return version_; @@ -339,6 +358,8 @@ public int getVersion() { * * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTime_ != null; @@ -352,6 +373,8 @@ public boolean hasCreateTime() { * * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; @@ -381,6 +404,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTime_ != null; @@ -394,6 +419,8 @@ public boolean hasUpdateTime() { * * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; @@ -549,6 +576,8 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { * * .google.cloud.dataproc.v1.WorkflowTemplatePlacement placement = 7 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the placement field is set. */ public boolean hasPlacement() { return placement_ != null; @@ -563,6 +592,8 @@ public boolean hasPlacement() { * * .google.cloud.dataproc.v1.WorkflowTemplatePlacement placement = 7 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The placement. */ public com.google.cloud.dataproc.v1.WorkflowTemplatePlacement getPlacement() { return placement_ == null @@ -1095,13 +1126,13 @@ public Builder clear() { } if (jobsBuilder_ == null) { jobs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); } else { jobsBuilder_.clear(); } if (parametersBuilder_ == null) { parameters_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000004); } else { parametersBuilder_.clear(); } @@ -1133,7 +1164,6 @@ public com.google.cloud.dataproc.v1.WorkflowTemplate buildPartial() { com.google.cloud.dataproc.v1.WorkflowTemplate result = new com.google.cloud.dataproc.v1.WorkflowTemplate(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.id_ = id_; result.name_ = name_; result.version_ = version_; @@ -1155,24 +1185,23 @@ public com.google.cloud.dataproc.v1.WorkflowTemplate buildPartial() { result.placement_ = placementBuilder_.build(); } if (jobsBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { jobs_ = java.util.Collections.unmodifiableList(jobs_); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); } result.jobs_ = jobs_; } else { result.jobs_ = jobsBuilder_.build(); } if (parametersBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { parameters_ = java.util.Collections.unmodifiableList(parameters_); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000004); } result.parameters_ = parameters_; } else { result.parameters_ = parametersBuilder_.build(); } - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1247,7 +1276,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.WorkflowTemplate other) { if (!other.jobs_.isEmpty()) { if (jobs_.isEmpty()) { jobs_ = other.jobs_; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureJobsIsMutable(); jobs_.addAll(other.jobs_); @@ -1260,7 +1289,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.WorkflowTemplate other) { jobsBuilder_.dispose(); jobsBuilder_ = null; jobs_ = other.jobs_; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); jobsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getJobsFieldBuilder() @@ -1274,7 +1303,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.WorkflowTemplate other) { if (!other.parameters_.isEmpty()) { if (parameters_.isEmpty()) { parameters_ = other.parameters_; - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureParametersIsMutable(); parameters_.addAll(other.parameters_); @@ -1287,7 +1316,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.WorkflowTemplate other) { parametersBuilder_.dispose(); parametersBuilder_ = null; parameters_ = other.parameters_; - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000004); parametersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getParametersFieldBuilder() @@ -1329,7 +1358,11 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object id_ = ""; - /** string id = 2 [(.google.api.field_behavior) = REQUIRED]; */ + /** + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The id. + */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { @@ -1341,7 +1374,11 @@ public java.lang.String getId() { return (java.lang.String) ref; } } - /** string id = 2 [(.google.api.field_behavior) = REQUIRED]; */ + /** + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for id. + */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { @@ -1353,7 +1390,12 @@ public com.google.protobuf.ByteString getIdBytes() { return (com.google.protobuf.ByteString) ref; } } - /** string id = 2 [(.google.api.field_behavior) = REQUIRED]; */ + /** + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The id to set. + * @return This builder for chaining. + */ public Builder setId(java.lang.String value) { if (value == null) { throw new NullPointerException(); @@ -1363,14 +1405,23 @@ public Builder setId(java.lang.String value) { onChanged(); return this; } - /** string id = 2 [(.google.api.field_behavior) = REQUIRED]; */ + /** + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } - /** string id = 2 [(.google.api.field_behavior) = REQUIRED]; */ + /** + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for id to set. + * @return This builder for chaining. + */ public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -1398,6 +1449,8 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -1425,6 +1478,8 @@ public java.lang.String getName() { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -1452,6 +1507,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -1477,6 +1535,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -1499,6 +1559,9 @@ public Builder clearName() { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1527,6 +1590,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * int32 version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. */ public int getVersion() { return version_; @@ -1546,6 +1611,9 @@ public int getVersion() { * * * int32 version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The version to set. + * @return This builder for chaining. */ public Builder setVersion(int value) { @@ -1568,6 +1636,8 @@ public Builder setVersion(int value) { * * * int32 version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearVersion() { @@ -1592,6 +1662,8 @@ public Builder clearVersion() { * * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; @@ -1606,6 +1678,8 @@ public boolean hasCreateTime() { * * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { @@ -1789,6 +1863,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; @@ -1803,6 +1879,8 @@ public boolean hasUpdateTime() { * * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2194,6 +2272,8 @@ public Builder putAllLabels(java.util.Map va * * .google.cloud.dataproc.v1.WorkflowTemplatePlacement placement = 7 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the placement field is set. */ public boolean hasPlacement() { return placementBuilder_ != null || placement_ != null; @@ -2208,6 +2288,8 @@ public boolean hasPlacement() { * * .google.cloud.dataproc.v1.WorkflowTemplatePlacement placement = 7 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The placement. */ public com.google.cloud.dataproc.v1.WorkflowTemplatePlacement getPlacement() { if (placementBuilder_ == null) { @@ -2382,9 +2464,9 @@ public com.google.cloud.dataproc.v1.WorkflowTemplatePlacementOrBuilder getPlacem java.util.Collections.emptyList(); private void ensureJobsIsMutable() { - if (!((bitField0_ & 0x00000080) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { jobs_ = new java.util.ArrayList(jobs_); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000002; } } @@ -2621,7 +2703,7 @@ public Builder addAllJobs( public Builder clearJobs() { if (jobsBuilder_ == null) { jobs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { jobsBuilder_.clear(); @@ -2756,7 +2838,7 @@ public java.util.List getJobsBu com.google.cloud.dataproc.v1.OrderedJob, com.google.cloud.dataproc.v1.OrderedJob.Builder, com.google.cloud.dataproc.v1.OrderedJobOrBuilder>( - jobs_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); + jobs_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); jobs_ = null; } return jobsBuilder_; @@ -2766,10 +2848,10 @@ public java.util.List getJobsBu java.util.Collections.emptyList(); private void ensureParametersIsMutable() { - if (!((bitField0_ & 0x00000100) != 0)) { + if (!((bitField0_ & 0x00000004) != 0)) { parameters_ = new java.util.ArrayList(parameters_); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000004; } } @@ -3029,7 +3111,7 @@ public Builder addAllParameters( public Builder clearParameters() { if (parametersBuilder_ == null) { parameters_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { parametersBuilder_.clear(); @@ -3180,7 +3262,7 @@ public com.google.cloud.dataproc.v1.TemplateParameter.Builder addParametersBuild com.google.cloud.dataproc.v1.TemplateParameter, com.google.cloud.dataproc.v1.TemplateParameter.Builder, com.google.cloud.dataproc.v1.TemplateParameterOrBuilder>( - parameters_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); + parameters_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); parameters_ = null; } return parametersBuilder_; diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateName.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateName.java index 3033dea3..d67e82ce 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateName.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateName.java @@ -24,7 +24,7 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public class WorkflowTemplateName implements ResourceName { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateOrBuilder.java index 6bf243f3..5be5d7ea 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateOrBuilder.java @@ -23,9 +23,17 @@ public interface WorkflowTemplateOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.WorkflowTemplate) com.google.protobuf.MessageOrBuilder { - /** string id = 2 [(.google.api.field_behavior) = REQUIRED]; */ + /** + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The id. + */ java.lang.String getId(); - /** string id = 2 [(.google.api.field_behavior) = REQUIRED]; */ + /** + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for id. + */ com.google.protobuf.ByteString getIdBytes(); /** @@ -43,6 +51,8 @@ public interface WorkflowTemplateOrBuilder * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ java.lang.String getName(); /** @@ -60,6 +70,8 @@ public interface WorkflowTemplateOrBuilder * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -78,6 +90,8 @@ public interface WorkflowTemplateOrBuilder * * * int32 version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. */ int getVersion(); @@ -90,6 +104,8 @@ public interface WorkflowTemplateOrBuilder * * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** @@ -101,6 +117,8 @@ public interface WorkflowTemplateOrBuilder * * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** @@ -124,6 +142,8 @@ public interface WorkflowTemplateOrBuilder * * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** @@ -135,6 +155,8 @@ public interface WorkflowTemplateOrBuilder * * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** @@ -253,6 +275,8 @@ public interface WorkflowTemplateOrBuilder * * .google.cloud.dataproc.v1.WorkflowTemplatePlacement placement = 7 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the placement field is set. */ boolean hasPlacement(); /** @@ -265,6 +289,8 @@ public interface WorkflowTemplateOrBuilder * * .google.cloud.dataproc.v1.WorkflowTemplatePlacement placement = 7 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The placement. */ com.google.cloud.dataproc.v1.WorkflowTemplatePlacement getPlacement(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplatePlacement.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplatePlacement.java index 0c242bbf..199dd9bb 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplatePlacement.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplatePlacement.java @@ -40,6 +40,12 @@ private WorkflowTemplatePlacement(com.google.protobuf.GeneratedMessageV3.Builder private WorkflowTemplatePlacement() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WorkflowTemplatePlacement(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -53,7 +59,6 @@ private WorkflowTemplatePlacement( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -134,7 +139,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int placementCase_ = 0; private java.lang.Object placement_; - public enum PlacementCase implements com.google.protobuf.Internal.EnumLite { + public enum PlacementCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { MANAGED_CLUSTER(1), CLUSTER_SELECTOR(2), PLACEMENT_NOT_SET(0); @@ -143,7 +151,11 @@ public enum PlacementCase implements com.google.protobuf.Internal.EnumLite { private PlacementCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static PlacementCase valueOf(int value) { return forNumber(value); @@ -180,6 +192,8 @@ public PlacementCase getPlacementCase() { * * * .google.cloud.dataproc.v1.ManagedCluster managed_cluster = 1; + * + * @return Whether the managedCluster field is set. */ public boolean hasManagedCluster() { return placementCase_ == 1; @@ -192,6 +206,8 @@ public boolean hasManagedCluster() { * * * .google.cloud.dataproc.v1.ManagedCluster managed_cluster = 1; + * + * @return The managedCluster. */ public com.google.cloud.dataproc.v1.ManagedCluster getManagedCluster() { if (placementCase_ == 1) { @@ -226,6 +242,8 @@ public com.google.cloud.dataproc.v1.ManagedClusterOrBuilder getManagedClusterOrB * * * .google.cloud.dataproc.v1.ClusterSelector cluster_selector = 2; + * + * @return Whether the clusterSelector field is set. */ public boolean hasClusterSelector() { return placementCase_ == 2; @@ -240,6 +258,8 @@ public boolean hasClusterSelector() { * * * .google.cloud.dataproc.v1.ClusterSelector cluster_selector = 2; + * + * @return The clusterSelector. */ public com.google.cloud.dataproc.v1.ClusterSelector getClusterSelector() { if (placementCase_ == 2) { @@ -668,6 +688,8 @@ public Builder clearPlacement() { * * * .google.cloud.dataproc.v1.ManagedCluster managed_cluster = 1; + * + * @return Whether the managedCluster field is set. */ public boolean hasManagedCluster() { return placementCase_ == 1; @@ -680,6 +702,8 @@ public boolean hasManagedCluster() { * * * .google.cloud.dataproc.v1.ManagedCluster managed_cluster = 1; + * + * @return The managedCluster. */ public com.google.cloud.dataproc.v1.ManagedCluster getManagedCluster() { if (managedClusterBuilder_ == null) { @@ -872,6 +896,8 @@ public com.google.cloud.dataproc.v1.ManagedClusterOrBuilder getManagedClusterOrB * * * .google.cloud.dataproc.v1.ClusterSelector cluster_selector = 2; + * + * @return Whether the clusterSelector field is set. */ public boolean hasClusterSelector() { return placementCase_ == 2; @@ -886,6 +912,8 @@ public boolean hasClusterSelector() { * * * .google.cloud.dataproc.v1.ClusterSelector cluster_selector = 2; + * + * @return The clusterSelector. */ public com.google.cloud.dataproc.v1.ClusterSelector getClusterSelector() { if (clusterSelectorBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplatePlacementOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplatePlacementOrBuilder.java index 97b9ffa8..a231a6e3 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplatePlacementOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplatePlacementOrBuilder.java @@ -31,6 +31,8 @@ public interface WorkflowTemplatePlacementOrBuilder * * * .google.cloud.dataproc.v1.ManagedCluster managed_cluster = 1; + * + * @return Whether the managedCluster field is set. */ boolean hasManagedCluster(); /** @@ -41,6 +43,8 @@ public interface WorkflowTemplatePlacementOrBuilder * * * .google.cloud.dataproc.v1.ManagedCluster managed_cluster = 1; + * + * @return The managedCluster. */ com.google.cloud.dataproc.v1.ManagedCluster getManagedCluster(); /** @@ -64,6 +68,8 @@ public interface WorkflowTemplatePlacementOrBuilder * * * .google.cloud.dataproc.v1.ClusterSelector cluster_selector = 2; + * + * @return Whether the clusterSelector field is set. */ boolean hasClusterSelector(); /** @@ -76,6 +82,8 @@ public interface WorkflowTemplatePlacementOrBuilder * * * .google.cloud.dataproc.v1.ClusterSelector cluster_selector = 2; + * + * @return The clusterSelector. */ com.google.cloud.dataproc.v1.ClusterSelector getClusterSelector(); /** diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplatesProto.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplatesProto.java index 826fc188..de205997 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplatesProto.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplatesProto.java @@ -332,28 +332,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "P\001Z@google.golang.org/genproto/googleapi" + "s/cloud/dataproc/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.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.dataproc.v1.ClustersProto.getDescriptor(), - com.google.cloud.dataproc.v1.JobsProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.dataproc.v1.ClustersProto.getDescriptor(), + com.google.cloud.dataproc.v1.JobsProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); internal_static_google_cloud_dataproc_v1_WorkflowTemplate_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_dataproc_v1_WorkflowTemplate_fieldAccessorTable = diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/YarnApplication.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/YarnApplication.java index 51e2103a..96564ab8 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/YarnApplication.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/YarnApplication.java @@ -46,6 +46,12 @@ private YarnApplication() { trackingUrl_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new YarnApplication(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -59,7 +65,6 @@ private YarnApplication( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -333,12 +338,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static State valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static State forNumber(int value) { switch (value) { case 0: @@ -418,6 +431,8 @@ private State(int value) { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -438,6 +453,8 @@ public java.lang.String getName() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -463,6 +480,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * .google.cloud.dataproc.v1.YarnApplication.State state = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -477,6 +496,8 @@ public int getStateValue() { * * .google.cloud.dataproc.v1.YarnApplication.State state = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1.YarnApplication.State getState() { @SuppressWarnings("deprecation") @@ -497,6 +518,8 @@ public com.google.cloud.dataproc.v1.YarnApplication.State getState() { * * * float progress = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The progress. */ public float getProgress() { return progress_; @@ -515,6 +538,8 @@ public float getProgress() { * * * string tracking_url = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The trackingUrl. */ public java.lang.String getTrackingUrl() { java.lang.Object ref = trackingUrl_; @@ -538,6 +563,8 @@ public java.lang.String getTrackingUrl() { * * * string tracking_url = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for trackingUrl. */ public com.google.protobuf.ByteString getTrackingUrlBytes() { java.lang.Object ref = trackingUrl_; @@ -928,6 +955,8 @@ public Builder mergeFrom( * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -948,6 +977,8 @@ public java.lang.String getName() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -968,6 +999,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -986,6 +1020,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -1001,6 +1037,9 @@ public Builder clearName() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1024,6 +1063,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1.YarnApplication.State state = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -1038,6 +1079,9 @@ public int getStateValue() { * * .google.cloud.dataproc.v1.YarnApplication.State state = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. */ public Builder setStateValue(int value) { state_ = value; @@ -1054,6 +1098,8 @@ public Builder setStateValue(int value) { * * .google.cloud.dataproc.v1.YarnApplication.State state = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1.YarnApplication.State getState() { @SuppressWarnings("deprecation") @@ -1073,6 +1119,9 @@ public com.google.cloud.dataproc.v1.YarnApplication.State getState() { * * .google.cloud.dataproc.v1.YarnApplication.State state = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @param value The state to set. + * @return This builder for chaining. */ public Builder setState(com.google.cloud.dataproc.v1.YarnApplication.State value) { if (value == null) { @@ -1093,6 +1142,8 @@ public Builder setState(com.google.cloud.dataproc.v1.YarnApplication.State value * * .google.cloud.dataproc.v1.YarnApplication.State state = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return This builder for chaining. */ public Builder clearState() { @@ -1110,6 +1161,8 @@ public Builder clearState() { * * * float progress = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The progress. */ public float getProgress() { return progress_; @@ -1122,6 +1175,9 @@ public float getProgress() { * * * float progress = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The progress to set. + * @return This builder for chaining. */ public Builder setProgress(float value) { @@ -1137,6 +1193,8 @@ public Builder setProgress(float value) { * * * float progress = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProgress() { @@ -1157,6 +1215,8 @@ public Builder clearProgress() { * * * string tracking_url = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The trackingUrl. */ public java.lang.String getTrackingUrl() { java.lang.Object ref = trackingUrl_; @@ -1180,6 +1240,8 @@ public java.lang.String getTrackingUrl() { * * * string tracking_url = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for trackingUrl. */ public com.google.protobuf.ByteString getTrackingUrlBytes() { java.lang.Object ref = trackingUrl_; @@ -1203,6 +1265,9 @@ public com.google.protobuf.ByteString getTrackingUrlBytes() { * * * string tracking_url = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The trackingUrl to set. + * @return This builder for chaining. */ public Builder setTrackingUrl(java.lang.String value) { if (value == null) { @@ -1224,6 +1289,8 @@ public Builder setTrackingUrl(java.lang.String value) { * * * string tracking_url = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearTrackingUrl() { @@ -1242,6 +1309,9 @@ public Builder clearTrackingUrl() { * * * string tracking_url = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for trackingUrl to set. + * @return This builder for chaining. */ public Builder setTrackingUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/YarnApplicationOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/YarnApplicationOrBuilder.java index cf74abb5..124e82a4 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/YarnApplicationOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/YarnApplicationOrBuilder.java @@ -31,6 +31,8 @@ public interface YarnApplicationOrBuilder * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. */ java.lang.String getName(); /** @@ -41,6 +43,8 @@ public interface YarnApplicationOrBuilder * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -54,6 +58,8 @@ public interface YarnApplicationOrBuilder * * .google.cloud.dataproc.v1.YarnApplication.State state = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The enum numeric value on the wire for state. */ int getStateValue(); /** @@ -66,6 +72,8 @@ public interface YarnApplicationOrBuilder * * .google.cloud.dataproc.v1.YarnApplication.State state = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The state. */ com.google.cloud.dataproc.v1.YarnApplication.State getState(); @@ -77,6 +85,8 @@ public interface YarnApplicationOrBuilder * * * float progress = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The progress. */ float getProgress(); @@ -91,6 +101,8 @@ public interface YarnApplicationOrBuilder * * * string tracking_url = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The trackingUrl. */ java.lang.String getTrackingUrl(); /** @@ -104,6 +116,8 @@ public interface YarnApplicationOrBuilder * * * string tracking_url = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for trackingUrl. */ com.google.protobuf.ByteString getTrackingUrlBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AcceleratorConfig.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AcceleratorConfig.java index 46ccd009..d8c7b414 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AcceleratorConfig.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AcceleratorConfig.java @@ -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; @@ -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 { @@ -134,6 +139,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string accelerator_type_uri = 1; + * + * @return The acceleratorTypeUri. */ public java.lang.String getAcceleratorTypeUri() { java.lang.Object ref = acceleratorTypeUri_; @@ -166,6 +173,8 @@ public java.lang.String getAcceleratorTypeUri() { * * * string accelerator_type_uri = 1; + * + * @return The bytes for acceleratorTypeUri. */ public com.google.protobuf.ByteString getAcceleratorTypeUriBytes() { java.lang.Object ref = acceleratorTypeUri_; @@ -189,6 +198,8 @@ public com.google.protobuf.ByteString getAcceleratorTypeUriBytes() { * * * int32 accelerator_count = 2; + * + * @return The acceleratorCount. */ public int getAcceleratorCount() { return acceleratorCount_; @@ -549,6 +560,8 @@ public Builder mergeFrom( * * * string accelerator_type_uri = 1; + * + * @return The acceleratorTypeUri. */ public java.lang.String getAcceleratorTypeUri() { java.lang.Object ref = acceleratorTypeUri_; @@ -581,6 +594,8 @@ public java.lang.String getAcceleratorTypeUri() { * * * string accelerator_type_uri = 1; + * + * @return The bytes for acceleratorTypeUri. */ public com.google.protobuf.ByteString getAcceleratorTypeUriBytes() { java.lang.Object ref = acceleratorTypeUri_; @@ -613,6 +628,9 @@ public com.google.protobuf.ByteString getAcceleratorTypeUriBytes() { * * * string accelerator_type_uri = 1; + * + * @param value The acceleratorTypeUri to set. + * @return This builder for chaining. */ public Builder setAcceleratorTypeUri(java.lang.String value) { if (value == null) { @@ -643,6 +661,8 @@ public Builder setAcceleratorTypeUri(java.lang.String value) { * * * string accelerator_type_uri = 1; + * + * @return This builder for chaining. */ public Builder clearAcceleratorTypeUri() { @@ -670,6 +690,9 @@ public Builder clearAcceleratorTypeUri() { * * * string accelerator_type_uri = 1; + * + * @param value The bytes for acceleratorTypeUri to set. + * @return This builder for chaining. */ public Builder setAcceleratorTypeUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -691,6 +714,8 @@ public Builder setAcceleratorTypeUriBytes(com.google.protobuf.ByteString value) * * * int32 accelerator_count = 2; + * + * @return The acceleratorCount. */ public int getAcceleratorCount() { return acceleratorCount_; @@ -703,6 +728,9 @@ public int getAcceleratorCount() { * * * int32 accelerator_count = 2; + * + * @param value The acceleratorCount to set. + * @return This builder for chaining. */ public Builder setAcceleratorCount(int value) { @@ -718,6 +746,8 @@ public Builder setAcceleratorCount(int value) { * * * int32 accelerator_count = 2; + * + * @return This builder for chaining. */ public Builder clearAcceleratorCount() { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AcceleratorConfigOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AcceleratorConfigOrBuilder.java index cc5281e7..ccec3f19 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AcceleratorConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AcceleratorConfigOrBuilder.java @@ -43,6 +43,8 @@ public interface AcceleratorConfigOrBuilder * * * string accelerator_type_uri = 1; + * + * @return The acceleratorTypeUri. */ java.lang.String getAcceleratorTypeUri(); /** @@ -65,6 +67,8 @@ public interface AcceleratorConfigOrBuilder * * * string accelerator_type_uri = 1; + * + * @return The bytes for acceleratorTypeUri. */ com.google.protobuf.ByteString getAcceleratorTypeUriBytes(); @@ -76,6 +80,8 @@ public interface AcceleratorConfigOrBuilder * * * int32 accelerator_count = 2; + * + * @return The acceleratorCount. */ int getAcceleratorCount(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingConfig.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingConfig.java index bc2f4173..2c7b186c 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingConfig.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingConfig.java @@ -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; @@ -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 { @@ -121,6 +126,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The policyUri. */ public java.lang.String getPolicyUri() { java.lang.Object ref = policyUri_; @@ -146,6 +153,8 @@ public java.lang.String getPolicyUri() { * * * string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for policyUri. */ public com.google.protobuf.ByteString getPolicyUriBytes() { java.lang.Object ref = policyUri_; @@ -491,6 +500,8 @@ public Builder mergeFrom( * * * string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The policyUri. */ public java.lang.String getPolicyUri() { java.lang.Object ref = policyUri_; @@ -516,6 +527,8 @@ public java.lang.String getPolicyUri() { * * * string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for policyUri. */ public com.google.protobuf.ByteString getPolicyUriBytes() { java.lang.Object ref = policyUri_; @@ -541,6 +554,9 @@ public com.google.protobuf.ByteString getPolicyUriBytes() { * * * string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The policyUri to set. + * @return This builder for chaining. */ public Builder setPolicyUri(java.lang.String value) { if (value == null) { @@ -564,6 +580,8 @@ public Builder setPolicyUri(java.lang.String value) { * * * string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearPolicyUri() { @@ -584,6 +602,9 @@ public Builder clearPolicyUri() { * * * string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for policyUri to set. + * @return This builder for chaining. */ public Builder setPolicyUriBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingConfigOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingConfigOrBuilder.java index 522e544b..7cc47774 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingConfigOrBuilder.java @@ -36,6 +36,8 @@ public interface AutoscalingConfigOrBuilder * * * string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The policyUri. */ java.lang.String getPolicyUri(); /** @@ -51,6 +53,8 @@ public interface AutoscalingConfigOrBuilder * * * string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for policyUri. */ com.google.protobuf.ByteString getPolicyUriBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPoliciesProto.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPoliciesProto.java index 5de89067..a3de6512 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPoliciesProto.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPoliciesProto.java @@ -175,25 +175,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gleapis/cloud/dataproc/v1beta2;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.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); internal_static_google_cloud_dataproc_v1beta2_AutoscalingPolicy_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_dataproc_v1beta2_AutoscalingPolicy_fieldAccessorTable = diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicy.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicy.java index fccd01c3..07ab7a31 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicy.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicy.java @@ -42,6 +42,12 @@ private AutoscalingPolicy() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AutoscalingPolicy(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private AutoscalingPolicy( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -175,7 +180,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int algorithmCase_ = 0; private java.lang.Object algorithm_; - public enum AlgorithmCase implements com.google.protobuf.Internal.EnumLite { + public enum AlgorithmCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { BASIC_ALGORITHM(3), ALGORITHM_NOT_SET(0); private final int value; @@ -183,7 +191,11 @@ public enum AlgorithmCase implements com.google.protobuf.Internal.EnumLite { private AlgorithmCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static AlgorithmCase valueOf(int value) { return forNumber(value); @@ -222,6 +234,8 @@ public AlgorithmCase getAlgorithmCase() { * * * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; @@ -245,6 +259,8 @@ public java.lang.String getId() { * * * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; @@ -275,6 +291,8 @@ public com.google.protobuf.ByteString getIdBytes() { * * * string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -302,6 +320,8 @@ public java.lang.String getName() { * * * string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -316,11 +336,19 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int BASIC_ALGORITHM_FIELD_NUMBER = 3; - /** .google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm basic_algorithm = 3; */ + /** + * .google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm basic_algorithm = 3; + * + * @return Whether the basicAlgorithm field is set. + */ public boolean hasBasicAlgorithm() { return algorithmCase_ == 3; } - /** .google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm basic_algorithm = 3; */ + /** + * .google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm basic_algorithm = 3; + * + * @return The basicAlgorithm. + */ public com.google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm getBasicAlgorithm() { if (algorithmCase_ == 3) { return (com.google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm) algorithm_; @@ -348,6 +376,8 @@ public com.google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm getBasicAlgor * * .google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the workerConfig field is set. */ public boolean hasWorkerConfig() { return workerConfig_ != null; @@ -362,6 +392,8 @@ public boolean hasWorkerConfig() { * * .google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The workerConfig. */ public com.google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig getWorkerConfig() { return workerConfig_ == null @@ -398,6 +430,8 @@ public com.google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig ge * * .google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the secondaryWorkerConfig field is set. */ public boolean hasSecondaryWorkerConfig() { return secondaryWorkerConfig_ != null; @@ -412,6 +446,8 @@ public boolean hasSecondaryWorkerConfig() { * * .google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The secondaryWorkerConfig. */ public com.google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig getSecondaryWorkerConfig() { @@ -899,6 +935,8 @@ public Builder clearAlgorithm() { * * * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; @@ -922,6 +960,8 @@ public java.lang.String getId() { * * * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; @@ -945,6 +985,9 @@ public com.google.protobuf.ByteString getIdBytes() { * * * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The id to set. + * @return This builder for chaining. */ public Builder setId(java.lang.String value) { if (value == null) { @@ -966,6 +1009,8 @@ public Builder setId(java.lang.String value) { * * * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearId() { @@ -984,6 +1029,9 @@ public Builder clearId() { * * * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for id to set. + * @return This builder for chaining. */ public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1012,6 +1060,8 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { * * * string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -1039,6 +1089,8 @@ public java.lang.String getName() { * * * string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -1066,6 +1118,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -1091,6 +1146,8 @@ public Builder setName(java.lang.String value) { * * * string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -1113,6 +1170,9 @@ public Builder clearName() { * * * string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1132,12 +1192,16 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { basicAlgorithmBuilder_; /** * .google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm basic_algorithm = 3; + * + * @return Whether the basicAlgorithm field is set. */ public boolean hasBasicAlgorithm() { return algorithmCase_ == 3; } /** * .google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm basic_algorithm = 3; + * + * @return The basicAlgorithm. */ public com.google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm getBasicAlgorithm() { if (basicAlgorithmBuilder_ == null) { @@ -1296,6 +1360,8 @@ public Builder clearBasicAlgorithm() { * * .google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the workerConfig field is set. */ public boolean hasWorkerConfig() { return workerConfigBuilder_ != null || workerConfig_ != null; @@ -1310,6 +1376,8 @@ public boolean hasWorkerConfig() { * * .google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The workerConfig. */ public com.google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig getWorkerConfig() { @@ -1506,6 +1574,8 @@ public Builder clearWorkerConfig() { * * .google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the secondaryWorkerConfig field is set. */ public boolean hasSecondaryWorkerConfig() { return secondaryWorkerConfigBuilder_ != null || secondaryWorkerConfig_ != null; @@ -1520,6 +1590,8 @@ public boolean hasSecondaryWorkerConfig() { * * .google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The secondaryWorkerConfig. */ public com.google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig getSecondaryWorkerConfig() { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyName.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyName.java index 2a12d759..8c3e8052 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyName.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyName.java @@ -24,7 +24,7 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public class AutoscalingPolicyName implements ResourceName { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyOrBuilder.java index 2925f9e8..0f3d9f41 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyOrBuilder.java @@ -34,6 +34,8 @@ public interface AutoscalingPolicyOrBuilder * * * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The id. */ java.lang.String getId(); /** @@ -47,6 +49,8 @@ public interface AutoscalingPolicyOrBuilder * * * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); @@ -65,6 +69,8 @@ public interface AutoscalingPolicyOrBuilder * * * string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ java.lang.String getName(); /** @@ -82,12 +88,22 @@ public interface AutoscalingPolicyOrBuilder * * * string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); - /** .google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm basic_algorithm = 3; */ + /** + * .google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm basic_algorithm = 3; + * + * @return Whether the basicAlgorithm field is set. + */ boolean hasBasicAlgorithm(); - /** .google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm basic_algorithm = 3; */ + /** + * .google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm basic_algorithm = 3; + * + * @return The basicAlgorithm. + */ com.google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm getBasicAlgorithm(); /** .google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm basic_algorithm = 3; */ com.google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithmOrBuilder getBasicAlgorithmOrBuilder(); @@ -102,6 +118,8 @@ public interface AutoscalingPolicyOrBuilder * * .google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the workerConfig field is set. */ boolean hasWorkerConfig(); /** @@ -114,6 +132,8 @@ public interface AutoscalingPolicyOrBuilder * * .google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The workerConfig. */ com.google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig getWorkerConfig(); /** @@ -140,6 +160,8 @@ public interface AutoscalingPolicyOrBuilder * * .google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the secondaryWorkerConfig field is set. */ boolean hasSecondaryWorkerConfig(); /** @@ -152,6 +174,8 @@ public interface AutoscalingPolicyOrBuilder * * .google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The secondaryWorkerConfig. */ com.google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig getSecondaryWorkerConfig(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/BasicAutoscalingAlgorithm.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/BasicAutoscalingAlgorithm.java index 2394d610..63a170bd 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/BasicAutoscalingAlgorithm.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/BasicAutoscalingAlgorithm.java @@ -39,6 +39,12 @@ private BasicAutoscalingAlgorithm(com.google.protobuf.GeneratedMessageV3.Builder private BasicAutoscalingAlgorithm() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BasicAutoscalingAlgorithm(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private BasicAutoscalingAlgorithm( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -142,6 +147,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * .google.cloud.dataproc.v1beta2.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the yarnConfig field is set. */ public boolean hasYarnConfig() { return yarnConfig_ != null; @@ -156,6 +163,8 @@ public boolean hasYarnConfig() { * * .google.cloud.dataproc.v1beta2.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The yarnConfig. */ public com.google.cloud.dataproc.v1beta2.BasicYarnAutoscalingConfig getYarnConfig() { return yarnConfig_ == null @@ -191,6 +200,8 @@ public com.google.cloud.dataproc.v1beta2.BasicYarnAutoscalingConfig getYarnConfi * * .google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the cooldownPeriod field is set. */ public boolean hasCooldownPeriod() { return cooldownPeriod_ != null; @@ -206,6 +217,8 @@ public boolean hasCooldownPeriod() { * * .google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The cooldownPeriod. */ public com.google.protobuf.Duration getCooldownPeriod() { return cooldownPeriod_ == null @@ -603,6 +616,8 @@ public Builder mergeFrom( * * .google.cloud.dataproc.v1beta2.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the yarnConfig field is set. */ public boolean hasYarnConfig() { return yarnConfigBuilder_ != null || yarnConfig_ != null; @@ -617,6 +632,8 @@ public boolean hasYarnConfig() { * * .google.cloud.dataproc.v1beta2.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The yarnConfig. */ public com.google.cloud.dataproc.v1beta2.BasicYarnAutoscalingConfig getYarnConfig() { if (yarnConfigBuilder_ == null) { @@ -809,6 +826,8 @@ public Builder clearYarnConfig() { * * .google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the cooldownPeriod field is set. */ public boolean hasCooldownPeriod() { return cooldownPeriodBuilder_ != null || cooldownPeriod_ != null; @@ -825,6 +844,8 @@ public boolean hasCooldownPeriod() { * * .google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The cooldownPeriod. */ public com.google.protobuf.Duration getCooldownPeriod() { if (cooldownPeriodBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/BasicAutoscalingAlgorithmOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/BasicAutoscalingAlgorithmOrBuilder.java index 5692e0a8..99b1621c 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/BasicAutoscalingAlgorithmOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/BasicAutoscalingAlgorithmOrBuilder.java @@ -33,6 +33,8 @@ public interface BasicAutoscalingAlgorithmOrBuilder * * .google.cloud.dataproc.v1beta2.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the yarnConfig field is set. */ boolean hasYarnConfig(); /** @@ -45,6 +47,8 @@ public interface BasicAutoscalingAlgorithmOrBuilder * * .google.cloud.dataproc.v1beta2.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The yarnConfig. */ com.google.cloud.dataproc.v1beta2.BasicYarnAutoscalingConfig getYarnConfig(); /** @@ -71,6 +75,8 @@ public interface BasicAutoscalingAlgorithmOrBuilder * * .google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the cooldownPeriod field is set. */ boolean hasCooldownPeriod(); /** @@ -84,6 +90,8 @@ public interface BasicAutoscalingAlgorithmOrBuilder * * .google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The cooldownPeriod. */ com.google.protobuf.Duration getCooldownPeriod(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/BasicYarnAutoscalingConfig.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/BasicYarnAutoscalingConfig.java index b44e72a3..11453a45 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/BasicYarnAutoscalingConfig.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/BasicYarnAutoscalingConfig.java @@ -39,6 +39,12 @@ private BasicYarnAutoscalingConfig(com.google.protobuf.GeneratedMessageV3.Builde private BasicYarnAutoscalingConfig() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BasicYarnAutoscalingConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private BasicYarnAutoscalingConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -148,6 +153,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * .google.protobuf.Duration graceful_decommission_timeout = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the gracefulDecommissionTimeout field is set. */ public boolean hasGracefulDecommissionTimeout() { return gracefulDecommissionTimeout_ != null; @@ -166,6 +173,8 @@ public boolean hasGracefulDecommissionTimeout() { * * .google.protobuf.Duration graceful_decommission_timeout = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The gracefulDecommissionTimeout. */ public com.google.protobuf.Duration getGracefulDecommissionTimeout() { return gracefulDecommissionTimeout_ == null @@ -206,6 +215,8 @@ public com.google.protobuf.DurationOrBuilder getGracefulDecommissionTimeoutOrBui * * * double scale_up_factor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The scaleUpFactor. */ public double getScaleUpFactor() { return scaleUpFactor_; @@ -226,6 +237,8 @@ public double getScaleUpFactor() { * * * double scale_down_factor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The scaleDownFactor. */ public double getScaleDownFactor() { return scaleDownFactor_; @@ -246,6 +259,8 @@ public double getScaleDownFactor() { * * * double scale_up_min_worker_fraction = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The scaleUpMinWorkerFraction. */ public double getScaleUpMinWorkerFraction() { return scaleUpMinWorkerFraction_; @@ -267,6 +282,8 @@ public double getScaleUpMinWorkerFraction() { * * double scale_down_min_worker_fraction = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The scaleDownMinWorkerFraction. */ public double getScaleDownMinWorkerFraction() { return scaleDownMinWorkerFraction_; @@ -705,6 +722,8 @@ public Builder mergeFrom( * * .google.protobuf.Duration graceful_decommission_timeout = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the gracefulDecommissionTimeout field is set. */ public boolean hasGracefulDecommissionTimeout() { return gracefulDecommissionTimeoutBuilder_ != null || gracefulDecommissionTimeout_ != null; @@ -723,6 +742,8 @@ public boolean hasGracefulDecommissionTimeout() { * * .google.protobuf.Duration graceful_decommission_timeout = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The gracefulDecommissionTimeout. */ public com.google.protobuf.Duration getGracefulDecommissionTimeout() { if (gracefulDecommissionTimeoutBuilder_ == null) { @@ -935,6 +956,8 @@ public com.google.protobuf.DurationOrBuilder getGracefulDecommissionTimeoutOrBui * * * double scale_up_factor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The scaleUpFactor. */ public double getScaleUpFactor() { return scaleUpFactor_; @@ -952,6 +975,9 @@ public double getScaleUpFactor() { * * * double scale_up_factor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The scaleUpFactor to set. + * @return This builder for chaining. */ public Builder setScaleUpFactor(double value) { @@ -972,6 +998,8 @@ public Builder setScaleUpFactor(double value) { * * * double scale_up_factor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearScaleUpFactor() { @@ -994,6 +1022,8 @@ public Builder clearScaleUpFactor() { * * * double scale_down_factor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The scaleDownFactor. */ public double getScaleDownFactor() { return scaleDownFactor_; @@ -1011,6 +1041,9 @@ public double getScaleDownFactor() { * * * double scale_down_factor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The scaleDownFactor to set. + * @return This builder for chaining. */ public Builder setScaleDownFactor(double value) { @@ -1031,6 +1064,8 @@ public Builder setScaleDownFactor(double value) { * * * double scale_down_factor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearScaleDownFactor() { @@ -1054,6 +1089,8 @@ public Builder clearScaleDownFactor() { * * double scale_up_min_worker_fraction = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The scaleUpMinWorkerFraction. */ public double getScaleUpMinWorkerFraction() { return scaleUpMinWorkerFraction_; @@ -1072,6 +1109,9 @@ public double getScaleUpMinWorkerFraction() { * * double scale_up_min_worker_fraction = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The scaleUpMinWorkerFraction to set. + * @return This builder for chaining. */ public Builder setScaleUpMinWorkerFraction(double value) { @@ -1093,6 +1133,8 @@ public Builder setScaleUpMinWorkerFraction(double value) { * * double scale_up_min_worker_fraction = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearScaleUpMinWorkerFraction() { @@ -1116,6 +1158,8 @@ public Builder clearScaleUpMinWorkerFraction() { * * double scale_down_min_worker_fraction = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The scaleDownMinWorkerFraction. */ public double getScaleDownMinWorkerFraction() { return scaleDownMinWorkerFraction_; @@ -1134,6 +1178,9 @@ public double getScaleDownMinWorkerFraction() { * * double scale_down_min_worker_fraction = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The scaleDownMinWorkerFraction to set. + * @return This builder for chaining. */ public Builder setScaleDownMinWorkerFraction(double value) { @@ -1155,6 +1202,8 @@ public Builder setScaleDownMinWorkerFraction(double value) { * * double scale_down_min_worker_fraction = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearScaleDownMinWorkerFraction() { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/BasicYarnAutoscalingConfigOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/BasicYarnAutoscalingConfigOrBuilder.java index f6c7c96f..fc9da292 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/BasicYarnAutoscalingConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/BasicYarnAutoscalingConfigOrBuilder.java @@ -37,6 +37,8 @@ public interface BasicYarnAutoscalingConfigOrBuilder * * .google.protobuf.Duration graceful_decommission_timeout = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the gracefulDecommissionTimeout field is set. */ boolean hasGracefulDecommissionTimeout(); /** @@ -53,6 +55,8 @@ public interface BasicYarnAutoscalingConfigOrBuilder * * .google.protobuf.Duration graceful_decommission_timeout = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The gracefulDecommissionTimeout. */ com.google.protobuf.Duration getGracefulDecommissionTimeout(); /** @@ -85,6 +89,8 @@ public interface BasicYarnAutoscalingConfigOrBuilder * * * double scale_up_factor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The scaleUpFactor. */ double getScaleUpFactor(); @@ -101,6 +107,8 @@ public interface BasicYarnAutoscalingConfigOrBuilder * * * double scale_down_factor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The scaleDownFactor. */ double getScaleDownFactor(); @@ -117,6 +125,8 @@ public interface BasicYarnAutoscalingConfigOrBuilder * * * double scale_up_min_worker_fraction = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The scaleUpMinWorkerFraction. */ double getScaleUpMinWorkerFraction(); @@ -134,6 +144,8 @@ public interface BasicYarnAutoscalingConfigOrBuilder * * double scale_down_min_worker_fraction = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The scaleDownMinWorkerFraction. */ double getScaleDownMinWorkerFraction(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CancelJobRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CancelJobRequest.java index 39dd46a6..4d929919 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CancelJobRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CancelJobRequest.java @@ -43,6 +43,12 @@ private CancelJobRequest() { jobId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CancelJobRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private CancelJobRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -154,6 +161,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -177,6 +186,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -197,6 +208,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -220,6 +233,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -240,6 +255,8 @@ public java.lang.String getJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -613,6 +630,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -634,6 +653,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -655,6 +676,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -674,6 +698,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -690,6 +716,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -711,6 +740,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -731,6 +762,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -751,6 +784,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -769,6 +805,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -784,6 +822,9 @@ public Builder clearRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -805,6 +846,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -825,6 +868,8 @@ public java.lang.String getJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -845,6 +890,9 @@ public com.google.protobuf.ByteString getJobIdBytes() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The jobId to set. + * @return This builder for chaining. */ public Builder setJobId(java.lang.String value) { if (value == null) { @@ -863,6 +911,8 @@ public Builder setJobId(java.lang.String value) { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearJobId() { @@ -878,6 +928,9 @@ public Builder clearJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for jobId to set. + * @return This builder for chaining. */ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CancelJobRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CancelJobRequestOrBuilder.java index b43c6d02..dbde9ad2 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CancelJobRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CancelJobRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface CancelJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface CancelJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface CancelJobRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface CancelJobRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface CancelJobRequestOrBuilder * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ java.lang.String getJobId(); /** @@ -85,6 +95,8 @@ public interface CancelJobRequestOrBuilder * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ com.google.protobuf.ByteString getJobIdBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/Cluster.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/Cluster.java index 9355fae9..8107c9f7 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/Cluster.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/Cluster.java @@ -45,6 +45,12 @@ private Cluster() { clusterUuid_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Cluster(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -124,10 +130,10 @@ private Cluster( } case 58: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { statusHistory_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000002; } statusHistory_.add( input.readMessage( @@ -136,10 +142,10 @@ private Cluster( } case 66: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( @@ -177,7 +183,7 @@ private Cluster( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000020) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { statusHistory_ = java.util.Collections.unmodifiableList(statusHistory_); } this.unknownFields = unknownFields.build(); @@ -211,7 +217,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1beta2.Cluster.Builder.class); } - private int bitField0_; public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** @@ -222,6 +227,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -242,6 +249,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -266,6 +275,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -287,6 +298,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -313,6 +326,8 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * .google.cloud.dataproc.v1beta2.ClusterConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ public boolean hasConfig() { return config_ != null; @@ -328,6 +343,8 @@ public boolean hasConfig() { * * .google.cloud.dataproc.v1beta2.ClusterConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ public com.google.cloud.dataproc.v1beta2.ClusterConfig getConfig() { return config_ == null @@ -479,6 +496,8 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { * * .google.cloud.dataproc.v1beta2.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the status field is set. */ public boolean hasStatus() { return status_ != null; @@ -493,6 +512,8 @@ public boolean hasStatus() { * * .google.cloud.dataproc.v1beta2.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The status. */ public com.google.cloud.dataproc.v1beta2.ClusterStatus getStatus() { return status_ == null @@ -600,6 +621,8 @@ public com.google.cloud.dataproc.v1beta2.ClusterStatusOrBuilder getStatusHistory * * * string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -621,6 +644,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -648,6 +673,8 @@ public com.google.protobuf.ByteString getClusterUuidBytes() { * * .google.cloud.dataproc.v1beta2.ClusterMetrics metrics = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the metrics field is set. */ public boolean hasMetrics() { return metrics_ != null; @@ -664,6 +691,8 @@ public boolean hasMetrics() { * * .google.cloud.dataproc.v1beta2.ClusterMetrics metrics = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The metrics. */ public com.google.cloud.dataproc.v1beta2.ClusterMetrics getMetrics() { return metrics_ == null @@ -1021,7 +1050,7 @@ public Builder clear() { } if (statusHistoryBuilder_ == null) { statusHistory_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000002); } else { statusHistoryBuilder_.clear(); } @@ -1061,7 +1090,6 @@ public com.google.cloud.dataproc.v1beta2.Cluster buildPartial() { com.google.cloud.dataproc.v1beta2.Cluster result = new com.google.cloud.dataproc.v1beta2.Cluster(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.projectId_ = projectId_; result.clusterName_ = clusterName_; if (configBuilder_ == null) { @@ -1077,9 +1105,9 @@ public com.google.cloud.dataproc.v1beta2.Cluster buildPartial() { result.status_ = statusBuilder_.build(); } if (statusHistoryBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { statusHistory_ = java.util.Collections.unmodifiableList(statusHistory_); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000002); } result.statusHistory_ = statusHistory_; } else { @@ -1091,7 +1119,6 @@ public com.google.cloud.dataproc.v1beta2.Cluster buildPartial() { } else { result.metrics_ = metricsBuilder_.build(); } - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1160,7 +1187,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.Cluster other) { if (!other.statusHistory_.isEmpty()) { if (statusHistory_.isEmpty()) { statusHistory_ = other.statusHistory_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureStatusHistoryIsMutable(); statusHistory_.addAll(other.statusHistory_); @@ -1173,7 +1200,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.Cluster other) { statusHistoryBuilder_.dispose(); statusHistoryBuilder_ = null; statusHistory_ = other.statusHistory_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000002); statusHistoryBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStatusHistoryFieldBuilder() @@ -1230,6 +1257,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -1250,6 +1279,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -1270,6 +1301,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -1288,6 +1322,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1303,6 +1339,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1325,6 +1364,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -1346,6 +1387,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -1367,6 +1410,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -1386,6 +1432,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -1402,6 +1450,9 @@ public Builder clearClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1431,6 +1482,8 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1beta2.ClusterConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; @@ -1446,6 +1499,8 @@ public boolean hasConfig() { * * .google.cloud.dataproc.v1beta2.ClusterConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ public com.google.cloud.dataproc.v1beta2.ClusterConfig getConfig() { if (configBuilder_ == null) { @@ -1833,6 +1888,8 @@ public Builder putAllLabels(java.util.Map va * * .google.cloud.dataproc.v1beta2.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; @@ -1847,6 +1904,8 @@ public boolean hasStatus() { * * .google.cloud.dataproc.v1beta2.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The status. */ public com.google.cloud.dataproc.v1beta2.ClusterStatus getStatus() { if (statusBuilder_ == null) { @@ -2021,11 +2080,11 @@ public com.google.cloud.dataproc.v1beta2.ClusterStatusOrBuilder getStatusOrBuild java.util.Collections.emptyList(); private void ensureStatusHistoryIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { statusHistory_ = new java.util.ArrayList( statusHistory_); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000002; } } @@ -2265,7 +2324,7 @@ public Builder addAllStatusHistory( public Builder clearStatusHistory() { if (statusHistoryBuilder_ == null) { statusHistory_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { statusHistoryBuilder_.clear(); @@ -2405,7 +2464,7 @@ public com.google.cloud.dataproc.v1beta2.ClusterStatus.Builder addStatusHistoryB com.google.cloud.dataproc.v1beta2.ClusterStatus.Builder, com.google.cloud.dataproc.v1beta2.ClusterStatusOrBuilder>( statusHistory_, - ((bitField0_ & 0x00000020) != 0), + ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); statusHistory_ = null; @@ -2423,6 +2482,8 @@ public com.google.cloud.dataproc.v1beta2.ClusterStatus.Builder addStatusHistoryB * * * string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -2444,6 +2505,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -2465,6 +2528,9 @@ public com.google.protobuf.ByteString getClusterUuidBytes() { * * * string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuid(java.lang.String value) { if (value == null) { @@ -2484,6 +2550,8 @@ public Builder setClusterUuid(java.lang.String value) { * * * string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearClusterUuid() { @@ -2500,6 +2568,9 @@ public Builder clearClusterUuid() { * * * string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuidBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2530,6 +2601,8 @@ public Builder setClusterUuidBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1beta2.ClusterMetrics metrics = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the metrics field is set. */ public boolean hasMetrics() { return metricsBuilder_ != null || metrics_ != null; @@ -2546,6 +2619,8 @@ public boolean hasMetrics() { * * .google.cloud.dataproc.v1beta2.ClusterMetrics metrics = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The metrics. */ public com.google.cloud.dataproc.v1beta2.ClusterMetrics getMetrics() { if (metricsBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterConfig.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterConfig.java index 8610ecc1..1800b58f 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterConfig.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterConfig.java @@ -42,6 +42,12 @@ private ClusterConfig() { initializationActions_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ClusterConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -126,11 +132,11 @@ private ClusterConfig( } case 90: { - if (!((mutable_bitField0_ & 0x00000080) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { initializationActions_ = new java.util.ArrayList< com.google.cloud.dataproc.v1beta2.NodeInitializationAction>(); - mutable_bitField0_ |= 0x00000080; + mutable_bitField0_ |= 0x00000001; } initializationActions_.add( input.readMessage( @@ -268,7 +274,7 @@ private ClusterConfig( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000080) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { initializationActions_ = java.util.Collections.unmodifiableList(initializationActions_); } this.unknownFields = unknownFields.build(); @@ -291,7 +297,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dataproc.v1beta2.ClusterConfig.Builder.class); } - private int bitField0_; public static final int CONFIG_BUCKET_FIELD_NUMBER = 1; private volatile java.lang.Object configBucket_; /** @@ -310,6 +315,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The configBucket. */ public java.lang.String getConfigBucket() { java.lang.Object ref = configBucket_; @@ -338,6 +345,8 @@ public java.lang.String getConfigBucket() { * * * string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for configBucket. */ public com.google.protobuf.ByteString getConfigBucketBytes() { java.lang.Object ref = configBucket_; @@ -364,6 +373,8 @@ public com.google.protobuf.ByteString getConfigBucketBytes() { * * .google.cloud.dataproc.v1beta2.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the gceClusterConfig field is set. */ public boolean hasGceClusterConfig() { return gceClusterConfig_ != null; @@ -379,6 +390,8 @@ public boolean hasGceClusterConfig() { * * .google.cloud.dataproc.v1beta2.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The gceClusterConfig. */ public com.google.cloud.dataproc.v1beta2.GceClusterConfig getGceClusterConfig() { return gceClusterConfig_ == null @@ -415,6 +428,8 @@ public com.google.cloud.dataproc.v1beta2.GceClusterConfig getGceClusterConfig() * * .google.cloud.dataproc.v1beta2.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the masterConfig field is set. */ public boolean hasMasterConfig() { return masterConfig_ != null; @@ -430,6 +445,8 @@ public boolean hasMasterConfig() { * * .google.cloud.dataproc.v1beta2.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The masterConfig. */ public com.google.cloud.dataproc.v1beta2.InstanceGroupConfig getMasterConfig() { return masterConfig_ == null @@ -465,6 +482,8 @@ public com.google.cloud.dataproc.v1beta2.InstanceGroupConfigOrBuilder getMasterC * * .google.cloud.dataproc.v1beta2.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the workerConfig field is set. */ public boolean hasWorkerConfig() { return workerConfig_ != null; @@ -480,6 +499,8 @@ public boolean hasWorkerConfig() { * * .google.cloud.dataproc.v1beta2.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The workerConfig. */ public com.google.cloud.dataproc.v1beta2.InstanceGroupConfig getWorkerConfig() { return workerConfig_ == null @@ -515,6 +536,8 @@ public com.google.cloud.dataproc.v1beta2.InstanceGroupConfigOrBuilder getWorkerC * * .google.cloud.dataproc.v1beta2.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the secondaryWorkerConfig field is set. */ public boolean hasSecondaryWorkerConfig() { return secondaryWorkerConfig_ != null; @@ -530,6 +553,8 @@ public boolean hasSecondaryWorkerConfig() { * * .google.cloud.dataproc.v1beta2.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The secondaryWorkerConfig. */ public com.google.cloud.dataproc.v1beta2.InstanceGroupConfig getSecondaryWorkerConfig() { return secondaryWorkerConfig_ == null @@ -565,6 +590,8 @@ public com.google.cloud.dataproc.v1beta2.InstanceGroupConfig getSecondaryWorkerC * * .google.cloud.dataproc.v1beta2.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the softwareConfig field is set. */ public boolean hasSoftwareConfig() { return softwareConfig_ != null; @@ -579,6 +606,8 @@ public boolean hasSoftwareConfig() { * * .google.cloud.dataproc.v1beta2.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The softwareConfig. */ public com.google.cloud.dataproc.v1beta2.SoftwareConfig getSoftwareConfig() { return softwareConfig_ == null @@ -612,6 +641,8 @@ public com.google.cloud.dataproc.v1beta2.SoftwareConfigOrBuilder getSoftwareConf * * .google.cloud.dataproc.v1beta2.LifecycleConfig lifecycle_config = 14 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the lifecycleConfig field is set. */ public boolean hasLifecycleConfig() { return lifecycleConfig_ != null; @@ -626,6 +657,8 @@ public boolean hasLifecycleConfig() { * * .google.cloud.dataproc.v1beta2.LifecycleConfig lifecycle_config = 14 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The lifecycleConfig. */ public com.google.cloud.dataproc.v1beta2.LifecycleConfig getLifecycleConfig() { return lifecycleConfig_ == null @@ -793,6 +826,8 @@ public com.google.cloud.dataproc.v1beta2.NodeInitializationAction getInitializat * * .google.cloud.dataproc.v1beta2.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; @@ -807,6 +842,8 @@ public boolean hasEncryptionConfig() { * * .google.cloud.dataproc.v1beta2.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The encryptionConfig. */ public com.google.cloud.dataproc.v1beta2.EncryptionConfig getEncryptionConfig() { return encryptionConfig_ == null @@ -842,6 +879,8 @@ public com.google.cloud.dataproc.v1beta2.EncryptionConfig getEncryptionConfig() * * .google.cloud.dataproc.v1beta2.AutoscalingConfig autoscaling_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the autoscalingConfig field is set. */ public boolean hasAutoscalingConfig() { return autoscalingConfig_ != null; @@ -857,6 +896,8 @@ public boolean hasAutoscalingConfig() { * * .google.cloud.dataproc.v1beta2.AutoscalingConfig autoscaling_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The autoscalingConfig. */ public com.google.cloud.dataproc.v1beta2.AutoscalingConfig getAutoscalingConfig() { return autoscalingConfig_ == null @@ -892,6 +933,8 @@ public com.google.cloud.dataproc.v1beta2.AutoscalingConfig getAutoscalingConfig( * * .google.cloud.dataproc.v1beta2.EndpointConfig endpoint_config = 17 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the endpointConfig field is set. */ public boolean hasEndpointConfig() { return endpointConfig_ != null; @@ -906,6 +949,8 @@ public boolean hasEndpointConfig() { * * .google.cloud.dataproc.v1beta2.EndpointConfig endpoint_config = 17 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The endpointConfig. */ public com.google.cloud.dataproc.v1beta2.EndpointConfig getEndpointConfig() { return endpointConfig_ == null @@ -939,6 +984,8 @@ public com.google.cloud.dataproc.v1beta2.EndpointConfigOrBuilder getEndpointConf * * .google.cloud.dataproc.v1beta2.SecurityConfig security_config = 18 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the securityConfig field is set. */ public boolean hasSecurityConfig() { return securityConfig_ != null; @@ -953,6 +1000,8 @@ public boolean hasSecurityConfig() { * * .google.cloud.dataproc.v1beta2.SecurityConfig security_config = 18 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The securityConfig. */ public com.google.cloud.dataproc.v1beta2.SecurityConfig getSecurityConfig() { return securityConfig_ == null @@ -1374,7 +1423,7 @@ public Builder clear() { } if (initializationActionsBuilder_ == null) { initializationActions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000001); } else { initializationActionsBuilder_.clear(); } @@ -1430,7 +1479,6 @@ public com.google.cloud.dataproc.v1beta2.ClusterConfig buildPartial() { com.google.cloud.dataproc.v1beta2.ClusterConfig result = new com.google.cloud.dataproc.v1beta2.ClusterConfig(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.configBucket_ = configBucket_; if (gceClusterConfigBuilder_ == null) { result.gceClusterConfig_ = gceClusterConfig_; @@ -1463,9 +1511,9 @@ public com.google.cloud.dataproc.v1beta2.ClusterConfig buildPartial() { result.lifecycleConfig_ = lifecycleConfigBuilder_.build(); } if (initializationActionsBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { initializationActions_ = java.util.Collections.unmodifiableList(initializationActions_); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000001); } result.initializationActions_ = initializationActions_; } else { @@ -1491,7 +1539,6 @@ public com.google.cloud.dataproc.v1beta2.ClusterConfig buildPartial() { } else { result.securityConfig_ = securityConfigBuilder_.build(); } - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1568,7 +1615,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.ClusterConfig other) if (!other.initializationActions_.isEmpty()) { if (initializationActions_.isEmpty()) { initializationActions_ = other.initializationActions_; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureInitializationActionsIsMutable(); initializationActions_.addAll(other.initializationActions_); @@ -1581,7 +1628,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.ClusterConfig other) initializationActionsBuilder_.dispose(); initializationActionsBuilder_ = null; initializationActions_ = other.initializationActions_; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000001); initializationActionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getInitializationActionsFieldBuilder() @@ -1651,6 +1698,8 @@ public Builder mergeFrom( * * * string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The configBucket. */ public java.lang.String getConfigBucket() { java.lang.Object ref = configBucket_; @@ -1679,6 +1728,8 @@ public java.lang.String getConfigBucket() { * * * string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for configBucket. */ public com.google.protobuf.ByteString getConfigBucketBytes() { java.lang.Object ref = configBucket_; @@ -1707,6 +1758,9 @@ public com.google.protobuf.ByteString getConfigBucketBytes() { * * * string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The configBucket to set. + * @return This builder for chaining. */ public Builder setConfigBucket(java.lang.String value) { if (value == null) { @@ -1733,6 +1787,8 @@ public Builder setConfigBucket(java.lang.String value) { * * * string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearConfigBucket() { @@ -1756,6 +1812,9 @@ public Builder clearConfigBucket() { * * * string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for configBucket to set. + * @return This builder for chaining. */ public Builder setConfigBucketBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1785,6 +1844,8 @@ public Builder setConfigBucketBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1beta2.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the gceClusterConfig field is set. */ public boolean hasGceClusterConfig() { return gceClusterConfigBuilder_ != null || gceClusterConfig_ != null; @@ -1800,6 +1861,8 @@ public boolean hasGceClusterConfig() { * * .google.cloud.dataproc.v1beta2.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The gceClusterConfig. */ public com.google.cloud.dataproc.v1beta2.GceClusterConfig getGceClusterConfig() { if (gceClusterConfigBuilder_ == null) { @@ -1995,6 +2058,8 @@ public com.google.cloud.dataproc.v1beta2.GceClusterConfig.Builder getGceClusterC * * .google.cloud.dataproc.v1beta2.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the masterConfig field is set. */ public boolean hasMasterConfig() { return masterConfigBuilder_ != null || masterConfig_ != null; @@ -2010,6 +2075,8 @@ public boolean hasMasterConfig() { * * .google.cloud.dataproc.v1beta2.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The masterConfig. */ public com.google.cloud.dataproc.v1beta2.InstanceGroupConfig getMasterConfig() { if (masterConfigBuilder_ == null) { @@ -2205,6 +2272,8 @@ public com.google.cloud.dataproc.v1beta2.InstanceGroupConfig.Builder getMasterCo * * .google.cloud.dataproc.v1beta2.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the workerConfig field is set. */ public boolean hasWorkerConfig() { return workerConfigBuilder_ != null || workerConfig_ != null; @@ -2220,6 +2289,8 @@ public boolean hasWorkerConfig() { * * .google.cloud.dataproc.v1beta2.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The workerConfig. */ public com.google.cloud.dataproc.v1beta2.InstanceGroupConfig getWorkerConfig() { if (workerConfigBuilder_ == null) { @@ -2415,6 +2486,8 @@ public com.google.cloud.dataproc.v1beta2.InstanceGroupConfig.Builder getWorkerCo * * .google.cloud.dataproc.v1beta2.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the secondaryWorkerConfig field is set. */ public boolean hasSecondaryWorkerConfig() { return secondaryWorkerConfigBuilder_ != null || secondaryWorkerConfig_ != null; @@ -2430,6 +2503,8 @@ public boolean hasSecondaryWorkerConfig() { * * .google.cloud.dataproc.v1beta2.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The secondaryWorkerConfig. */ public com.google.cloud.dataproc.v1beta2.InstanceGroupConfig getSecondaryWorkerConfig() { if (secondaryWorkerConfigBuilder_ == null) { @@ -2628,6 +2703,8 @@ public Builder clearSecondaryWorkerConfig() { * * .google.cloud.dataproc.v1beta2.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the softwareConfig field is set. */ public boolean hasSoftwareConfig() { return softwareConfigBuilder_ != null || softwareConfig_ != null; @@ -2642,6 +2719,8 @@ public boolean hasSoftwareConfig() { * * .google.cloud.dataproc.v1beta2.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The softwareConfig. */ public com.google.cloud.dataproc.v1beta2.SoftwareConfig getSoftwareConfig() { if (softwareConfigBuilder_ == null) { @@ -2828,6 +2907,8 @@ public com.google.cloud.dataproc.v1beta2.SoftwareConfigOrBuilder getSoftwareConf * * .google.cloud.dataproc.v1beta2.LifecycleConfig lifecycle_config = 14 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the lifecycleConfig field is set. */ public boolean hasLifecycleConfig() { return lifecycleConfigBuilder_ != null || lifecycleConfig_ != null; @@ -2842,6 +2923,8 @@ public boolean hasLifecycleConfig() { * * .google.cloud.dataproc.v1beta2.LifecycleConfig lifecycle_config = 14 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The lifecycleConfig. */ public com.google.cloud.dataproc.v1beta2.LifecycleConfig getLifecycleConfig() { if (lifecycleConfigBuilder_ == null) { @@ -3017,11 +3100,11 @@ public com.google.cloud.dataproc.v1beta2.LifecycleConfig.Builder getLifecycleCon initializationActions_ = java.util.Collections.emptyList(); private void ensureInitializationActionsIsMutable() { - if (!((bitField0_ & 0x00000080) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { initializationActions_ = new java.util.ArrayList( initializationActions_); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000001; } } @@ -3388,7 +3471,7 @@ public Builder addAllInitializationActions( public Builder clearInitializationActions() { if (initializationActionsBuilder_ == null) { initializationActions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { initializationActionsBuilder_.clear(); @@ -3610,7 +3693,7 @@ public Builder removeInitializationActions(int index) { com.google.cloud.dataproc.v1beta2.NodeInitializationAction.Builder, com.google.cloud.dataproc.v1beta2.NodeInitializationActionOrBuilder>( initializationActions_, - ((bitField0_ & 0x00000080) != 0), + ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); initializationActions_ = null; @@ -3634,6 +3717,8 @@ public Builder removeInitializationActions(int index) { * * .google.cloud.dataproc.v1beta2.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return encryptionConfigBuilder_ != null || encryptionConfig_ != null; @@ -3648,6 +3733,8 @@ public boolean hasEncryptionConfig() { * * .google.cloud.dataproc.v1beta2.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The encryptionConfig. */ public com.google.cloud.dataproc.v1beta2.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { @@ -3836,6 +3923,8 @@ public com.google.cloud.dataproc.v1beta2.EncryptionConfig.Builder getEncryptionC * * .google.cloud.dataproc.v1beta2.AutoscalingConfig autoscaling_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the autoscalingConfig field is set. */ public boolean hasAutoscalingConfig() { return autoscalingConfigBuilder_ != null || autoscalingConfig_ != null; @@ -3851,6 +3940,8 @@ public boolean hasAutoscalingConfig() { * * .google.cloud.dataproc.v1beta2.AutoscalingConfig autoscaling_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The autoscalingConfig. */ public com.google.cloud.dataproc.v1beta2.AutoscalingConfig getAutoscalingConfig() { if (autoscalingConfigBuilder_ == null) { @@ -4047,6 +4138,8 @@ public Builder clearAutoscalingConfig() { * * .google.cloud.dataproc.v1beta2.EndpointConfig endpoint_config = 17 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the endpointConfig field is set. */ public boolean hasEndpointConfig() { return endpointConfigBuilder_ != null || endpointConfig_ != null; @@ -4061,6 +4154,8 @@ public boolean hasEndpointConfig() { * * .google.cloud.dataproc.v1beta2.EndpointConfig endpoint_config = 17 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The endpointConfig. */ public com.google.cloud.dataproc.v1beta2.EndpointConfig getEndpointConfig() { if (endpointConfigBuilder_ == null) { @@ -4247,6 +4342,8 @@ public com.google.cloud.dataproc.v1beta2.EndpointConfigOrBuilder getEndpointConf * * .google.cloud.dataproc.v1beta2.SecurityConfig security_config = 18 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the securityConfig field is set. */ public boolean hasSecurityConfig() { return securityConfigBuilder_ != null || securityConfig_ != null; @@ -4261,6 +4358,8 @@ public boolean hasSecurityConfig() { * * .google.cloud.dataproc.v1beta2.SecurityConfig security_config = 18 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The securityConfig. */ public com.google.cloud.dataproc.v1beta2.SecurityConfig getSecurityConfig() { if (securityConfigBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterConfigOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterConfigOrBuilder.java index da26a324..95398c0f 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterConfigOrBuilder.java @@ -39,6 +39,8 @@ public interface ClusterConfigOrBuilder * * * string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The configBucket. */ java.lang.String getConfigBucket(); /** @@ -57,6 +59,8 @@ public interface ClusterConfigOrBuilder * * * string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for configBucket. */ com.google.protobuf.ByteString getConfigBucketBytes(); @@ -71,6 +75,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the gceClusterConfig field is set. */ boolean hasGceClusterConfig(); /** @@ -84,6 +90,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The gceClusterConfig. */ com.google.cloud.dataproc.v1beta2.GceClusterConfig getGceClusterConfig(); /** @@ -111,6 +119,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the masterConfig field is set. */ boolean hasMasterConfig(); /** @@ -124,6 +134,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The masterConfig. */ com.google.cloud.dataproc.v1beta2.InstanceGroupConfig getMasterConfig(); /** @@ -151,6 +163,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the workerConfig field is set. */ boolean hasWorkerConfig(); /** @@ -164,6 +178,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The workerConfig. */ com.google.cloud.dataproc.v1beta2.InstanceGroupConfig getWorkerConfig(); /** @@ -191,6 +207,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the secondaryWorkerConfig field is set. */ boolean hasSecondaryWorkerConfig(); /** @@ -204,6 +222,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The secondaryWorkerConfig. */ com.google.cloud.dataproc.v1beta2.InstanceGroupConfig getSecondaryWorkerConfig(); /** @@ -231,6 +251,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the softwareConfig field is set. */ boolean hasSoftwareConfig(); /** @@ -243,6 +265,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The softwareConfig. */ com.google.cloud.dataproc.v1beta2.SoftwareConfig getSoftwareConfig(); /** @@ -268,6 +292,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.LifecycleConfig lifecycle_config = 14 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the lifecycleConfig field is set. */ boolean hasLifecycleConfig(); /** @@ -280,6 +306,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.LifecycleConfig lifecycle_config = 14 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The lifecycleConfig. */ com.google.cloud.dataproc.v1beta2.LifecycleConfig getLifecycleConfig(); /** @@ -424,6 +452,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** @@ -436,6 +466,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The encryptionConfig. */ com.google.cloud.dataproc.v1beta2.EncryptionConfig getEncryptionConfig(); /** @@ -462,6 +494,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.AutoscalingConfig autoscaling_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the autoscalingConfig field is set. */ boolean hasAutoscalingConfig(); /** @@ -475,6 +509,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.AutoscalingConfig autoscaling_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The autoscalingConfig. */ com.google.cloud.dataproc.v1beta2.AutoscalingConfig getAutoscalingConfig(); /** @@ -501,6 +537,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.EndpointConfig endpoint_config = 17 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the endpointConfig field is set. */ boolean hasEndpointConfig(); /** @@ -513,6 +551,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.EndpointConfig endpoint_config = 17 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The endpointConfig. */ com.google.cloud.dataproc.v1beta2.EndpointConfig getEndpointConfig(); /** @@ -538,6 +578,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.SecurityConfig security_config = 18 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the securityConfig field is set. */ boolean hasSecurityConfig(); /** @@ -550,6 +592,8 @@ public interface ClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.SecurityConfig security_config = 18 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The securityConfig. */ com.google.cloud.dataproc.v1beta2.SecurityConfig getSecurityConfig(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterMetrics.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterMetrics.java index c12b5448..f6c46538 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterMetrics.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterMetrics.java @@ -41,6 +41,12 @@ private ClusterMetrics(com.google.protobuf.GeneratedMessageV3.Builder builder private ClusterMetrics() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ClusterMetrics(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperation.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperation.java index 80290f56..ff08708b 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperation.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperation.java @@ -42,6 +42,12 @@ private ClusterOperation() { error_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ClusterOperation(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private ClusterOperation( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -129,6 +134,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The operationId. */ public java.lang.String getOperationId() { java.lang.Object ref = operationId_; @@ -149,6 +156,8 @@ public java.lang.String getOperationId() { * * * string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for operationId. */ public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; @@ -172,6 +181,8 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * * * string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The error. */ public java.lang.String getError() { java.lang.Object ref = error_; @@ -192,6 +203,8 @@ public java.lang.String getError() { * * * string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for error. */ public com.google.protobuf.ByteString getErrorBytes() { java.lang.Object ref = error_; @@ -215,6 +228,8 @@ public com.google.protobuf.ByteString getErrorBytes() { * * * bool done = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The done. */ public boolean getDone() { return done_; @@ -578,6 +593,8 @@ public Builder mergeFrom( * * * string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The operationId. */ public java.lang.String getOperationId() { java.lang.Object ref = operationId_; @@ -598,6 +615,8 @@ public java.lang.String getOperationId() { * * * string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for operationId. */ public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; @@ -618,6 +637,9 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * * * string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The operationId to set. + * @return This builder for chaining. */ public Builder setOperationId(java.lang.String value) { if (value == null) { @@ -636,6 +658,8 @@ public Builder setOperationId(java.lang.String value) { * * * string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearOperationId() { @@ -651,6 +675,9 @@ public Builder clearOperationId() { * * * string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for operationId to set. + * @return This builder for chaining. */ public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -672,6 +699,8 @@ public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { * * * string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The error. */ public java.lang.String getError() { java.lang.Object ref = error_; @@ -692,6 +721,8 @@ public java.lang.String getError() { * * * string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for error. */ public com.google.protobuf.ByteString getErrorBytes() { java.lang.Object ref = error_; @@ -712,6 +743,9 @@ public com.google.protobuf.ByteString getErrorBytes() { * * * string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The error to set. + * @return This builder for chaining. */ public Builder setError(java.lang.String value) { if (value == null) { @@ -730,6 +764,8 @@ public Builder setError(java.lang.String value) { * * * string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearError() { @@ -745,6 +781,9 @@ public Builder clearError() { * * * string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for error to set. + * @return This builder for chaining. */ public Builder setErrorBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -766,6 +805,8 @@ public Builder setErrorBytes(com.google.protobuf.ByteString value) { * * * bool done = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The done. */ public boolean getDone() { return done_; @@ -778,6 +819,9 @@ public boolean getDone() { * * * bool done = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The done to set. + * @return This builder for chaining. */ public Builder setDone(boolean value) { @@ -793,6 +837,8 @@ public Builder setDone(boolean value) { * * * bool done = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearDone() { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationMetadata.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationMetadata.java index 46e69b28..cc5649a4 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationMetadata.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationMetadata.java @@ -46,6 +46,12 @@ private ClusterOperationMetadata() { warnings_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ClusterOperationMetadata(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -103,11 +109,11 @@ private ClusterOperationMetadata( } case 82: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { statusHistory_ = new java.util.ArrayList< com.google.cloud.dataproc.v1beta2.ClusterOperationStatus>(); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000001; } statusHistory_.add( input.readMessage( @@ -131,10 +137,10 @@ private ClusterOperationMetadata( } case 106: { - if (!((mutable_bitField0_ & 0x00000040) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000040; + mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry labels__ = input.readMessage( @@ -145,9 +151,9 @@ private ClusterOperationMetadata( case 114: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000080) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { warnings_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000080; + mutable_bitField0_ |= 0x00000004; } warnings_.add(s); break; @@ -166,10 +172,10 @@ private ClusterOperationMetadata( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000008) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { statusHistory_ = java.util.Collections.unmodifiableList(statusHistory_); } - if (((mutable_bitField0_ & 0x00000080) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { warnings_ = warnings_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -203,7 +209,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1beta2.ClusterOperationMetadata.Builder.class); } - private int bitField0_; public static final int CLUSTER_NAME_FIELD_NUMBER = 7; private volatile java.lang.Object clusterName_; /** @@ -214,6 +219,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * string cluster_name = 7; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -234,6 +241,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 7; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -257,6 +266,8 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_uuid = 8; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -277,6 +288,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 8; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -300,6 +313,8 @@ public com.google.protobuf.ByteString getClusterUuidBytes() { * * * .google.cloud.dataproc.v1beta2.ClusterOperationStatus status = 9; + * + * @return Whether the status field is set. */ public boolean hasStatus() { return status_ != null; @@ -312,6 +327,8 @@ public boolean hasStatus() { * * * .google.cloud.dataproc.v1beta2.ClusterOperationStatus status = 9; + * + * @return The status. */ public com.google.cloud.dataproc.v1beta2.ClusterOperationStatus getStatus() { return status_ == null @@ -412,6 +429,8 @@ public com.google.cloud.dataproc.v1beta2.ClusterOperationStatus getStatusHistory * * * string operation_type = 11; + * + * @return The operationType. */ public java.lang.String getOperationType() { java.lang.Object ref = operationType_; @@ -432,6 +451,8 @@ public java.lang.String getOperationType() { * * * string operation_type = 11; + * + * @return The bytes for operationType. */ public com.google.protobuf.ByteString getOperationTypeBytes() { java.lang.Object ref = operationType_; @@ -455,6 +476,8 @@ public com.google.protobuf.ByteString getOperationTypeBytes() { * * * string description = 12; + * + * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; @@ -475,6 +498,8 @@ public java.lang.String getDescription() { * * * string description = 12; + * + * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; @@ -591,6 +616,8 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { * * * repeated string warnings = 14; + * + * @return A list containing the warnings. */ public com.google.protobuf.ProtocolStringList getWarningsList() { return warnings_; @@ -603,6 +630,8 @@ public com.google.protobuf.ProtocolStringList getWarningsList() { * * * repeated string warnings = 14; + * + * @return The count of warnings. */ public int getWarningsCount() { return warnings_.size(); @@ -615,6 +644,9 @@ public int getWarningsCount() { * * * repeated string warnings = 14; + * + * @param index The index of the element to return. + * @return The warnings at the given index. */ public java.lang.String getWarnings(int index) { return warnings_.get(index); @@ -627,6 +659,9 @@ public java.lang.String getWarnings(int index) { * * * repeated string warnings = 14; + * + * @param index The index of the value to return. + * @return The bytes of the warnings at the given index. */ public com.google.protobuf.ByteString getWarningsBytes(int index) { return warnings_.getByteString(index); @@ -956,7 +991,7 @@ public Builder clear() { } if (statusHistoryBuilder_ == null) { statusHistory_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000001); } else { statusHistoryBuilder_.clear(); } @@ -966,7 +1001,7 @@ public Builder clear() { internalGetMutableLabels().clear(); warnings_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000004); return this; } @@ -995,7 +1030,6 @@ public com.google.cloud.dataproc.v1beta2.ClusterOperationMetadata buildPartial() com.google.cloud.dataproc.v1beta2.ClusterOperationMetadata result = new com.google.cloud.dataproc.v1beta2.ClusterOperationMetadata(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.clusterName_ = clusterName_; result.clusterUuid_ = clusterUuid_; if (statusBuilder_ == null) { @@ -1004,9 +1038,9 @@ public com.google.cloud.dataproc.v1beta2.ClusterOperationMetadata buildPartial() result.status_ = statusBuilder_.build(); } if (statusHistoryBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { statusHistory_ = java.util.Collections.unmodifiableList(statusHistory_); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000001); } result.statusHistory_ = statusHistory_; } else { @@ -1016,12 +1050,11 @@ public com.google.cloud.dataproc.v1beta2.ClusterOperationMetadata buildPartial() result.description_ = description_; result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { warnings_ = warnings_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000004); } result.warnings_ = warnings_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1087,7 +1120,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.ClusterOperationMetad if (!other.statusHistory_.isEmpty()) { if (statusHistory_.isEmpty()) { statusHistory_ = other.statusHistory_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStatusHistoryIsMutable(); statusHistory_.addAll(other.statusHistory_); @@ -1100,7 +1133,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.ClusterOperationMetad statusHistoryBuilder_.dispose(); statusHistoryBuilder_ = null; statusHistory_ = other.statusHistory_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000001); statusHistoryBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStatusHistoryFieldBuilder() @@ -1122,7 +1155,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.ClusterOperationMetad if (!other.warnings_.isEmpty()) { if (warnings_.isEmpty()) { warnings_ = other.warnings_; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureWarningsIsMutable(); warnings_.addAll(other.warnings_); @@ -1170,6 +1203,8 @@ public Builder mergeFrom( * * * string cluster_name = 7; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -1190,6 +1225,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 7; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -1210,6 +1247,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 7; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -1228,6 +1268,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 7; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -1243,6 +1285,9 @@ public Builder clearClusterName() { * * * string cluster_name = 7; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1264,6 +1309,8 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { * * * string cluster_uuid = 8; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -1284,6 +1331,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 8; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -1304,6 +1353,9 @@ public com.google.protobuf.ByteString getClusterUuidBytes() { * * * string cluster_uuid = 8; + * + * @param value The clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuid(java.lang.String value) { if (value == null) { @@ -1322,6 +1374,8 @@ public Builder setClusterUuid(java.lang.String value) { * * * string cluster_uuid = 8; + * + * @return This builder for chaining. */ public Builder clearClusterUuid() { @@ -1337,6 +1391,9 @@ public Builder clearClusterUuid() { * * * string cluster_uuid = 8; + * + * @param value The bytes for clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuidBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1363,6 +1420,8 @@ public Builder setClusterUuidBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dataproc.v1beta2.ClusterOperationStatus status = 9; + * + * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; @@ -1375,6 +1434,8 @@ public boolean hasStatus() { * * * .google.cloud.dataproc.v1beta2.ClusterOperationStatus status = 9; + * + * @return The status. */ public com.google.cloud.dataproc.v1beta2.ClusterOperationStatus getStatus() { if (statusBuilder_ == null) { @@ -1535,11 +1596,11 @@ public com.google.cloud.dataproc.v1beta2.ClusterOperationStatusOrBuilder getStat statusHistory_ = java.util.Collections.emptyList(); private void ensureStatusHistoryIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { statusHistory_ = new java.util.ArrayList( statusHistory_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000001; } } @@ -1773,7 +1834,7 @@ public Builder addAllStatusHistory( public Builder clearStatusHistory() { if (statusHistoryBuilder_ == null) { statusHistory_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { statusHistoryBuilder_.clear(); @@ -1910,7 +1971,7 @@ public com.google.cloud.dataproc.v1beta2.ClusterOperationStatus.Builder addStatu com.google.cloud.dataproc.v1beta2.ClusterOperationStatus.Builder, com.google.cloud.dataproc.v1beta2.ClusterOperationStatusOrBuilder>( statusHistory_, - ((bitField0_ & 0x00000008) != 0), + ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); statusHistory_ = null; @@ -1927,6 +1988,8 @@ public com.google.cloud.dataproc.v1beta2.ClusterOperationStatus.Builder addStatu * * * string operation_type = 11; + * + * @return The operationType. */ public java.lang.String getOperationType() { java.lang.Object ref = operationType_; @@ -1947,6 +2010,8 @@ public java.lang.String getOperationType() { * * * string operation_type = 11; + * + * @return The bytes for operationType. */ public com.google.protobuf.ByteString getOperationTypeBytes() { java.lang.Object ref = operationType_; @@ -1967,6 +2032,9 @@ public com.google.protobuf.ByteString getOperationTypeBytes() { * * * string operation_type = 11; + * + * @param value The operationType to set. + * @return This builder for chaining. */ public Builder setOperationType(java.lang.String value) { if (value == null) { @@ -1985,6 +2053,8 @@ public Builder setOperationType(java.lang.String value) { * * * string operation_type = 11; + * + * @return This builder for chaining. */ public Builder clearOperationType() { @@ -2000,6 +2070,9 @@ public Builder clearOperationType() { * * * string operation_type = 11; + * + * @param value The bytes for operationType to set. + * @return This builder for chaining. */ public Builder setOperationTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2021,6 +2094,8 @@ public Builder setOperationTypeBytes(com.google.protobuf.ByteString value) { * * * string description = 12; + * + * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; @@ -2041,6 +2116,8 @@ public java.lang.String getDescription() { * * * string description = 12; + * + * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; @@ -2061,6 +2138,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * * string description = 12; + * + * @param value The description to set. + * @return This builder for chaining. */ public Builder setDescription(java.lang.String value) { if (value == null) { @@ -2079,6 +2159,8 @@ public Builder setDescription(java.lang.String value) { * * * string description = 12; + * + * @return This builder for chaining. */ public Builder clearDescription() { @@ -2094,6 +2176,9 @@ public Builder clearDescription() { * * * string description = 12; + * + * @param value The bytes for description to set. + * @return This builder for chaining. */ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2262,9 +2347,9 @@ public Builder putAllLabels(java.util.Map va com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureWarningsIsMutable() { - if (!((bitField0_ & 0x00000080) != 0)) { + if (!((bitField0_ & 0x00000004) != 0)) { warnings_ = new com.google.protobuf.LazyStringArrayList(warnings_); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000004; } } /** @@ -2275,6 +2360,8 @@ private void ensureWarningsIsMutable() { * * * repeated string warnings = 14; + * + * @return A list containing the warnings. */ public com.google.protobuf.ProtocolStringList getWarningsList() { return warnings_.getUnmodifiableView(); @@ -2287,6 +2374,8 @@ public com.google.protobuf.ProtocolStringList getWarningsList() { * * * repeated string warnings = 14; + * + * @return The count of warnings. */ public int getWarningsCount() { return warnings_.size(); @@ -2299,6 +2388,9 @@ public int getWarningsCount() { * * * repeated string warnings = 14; + * + * @param index The index of the element to return. + * @return The warnings at the given index. */ public java.lang.String getWarnings(int index) { return warnings_.get(index); @@ -2311,6 +2403,9 @@ public java.lang.String getWarnings(int index) { * * * repeated string warnings = 14; + * + * @param index The index of the value to return. + * @return The bytes of the warnings at the given index. */ public com.google.protobuf.ByteString getWarningsBytes(int index) { return warnings_.getByteString(index); @@ -2323,6 +2418,10 @@ public com.google.protobuf.ByteString getWarningsBytes(int index) { * * * repeated string warnings = 14; + * + * @param index The index to set the value at. + * @param value The warnings to set. + * @return This builder for chaining. */ public Builder setWarnings(int index, java.lang.String value) { if (value == null) { @@ -2341,6 +2440,9 @@ public Builder setWarnings(int index, java.lang.String value) { * * * repeated string warnings = 14; + * + * @param value The warnings to add. + * @return This builder for chaining. */ public Builder addWarnings(java.lang.String value) { if (value == null) { @@ -2359,6 +2461,9 @@ public Builder addWarnings(java.lang.String value) { * * * repeated string warnings = 14; + * + * @param values The warnings to add. + * @return This builder for chaining. */ public Builder addAllWarnings(java.lang.Iterable values) { ensureWarningsIsMutable(); @@ -2374,10 +2479,12 @@ public Builder addAllWarnings(java.lang.Iterable values) { * * * repeated string warnings = 14; + * + * @return This builder for chaining. */ public Builder clearWarnings() { warnings_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -2389,6 +2496,9 @@ public Builder clearWarnings() { * * * repeated string warnings = 14; + * + * @param value The bytes of the warnings to add. + * @return This builder for chaining. */ public Builder addWarningsBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationMetadataOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationMetadataOrBuilder.java index 6a3167ba..3a4598ce 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationMetadataOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationMetadataOrBuilder.java @@ -31,6 +31,8 @@ public interface ClusterOperationMetadataOrBuilder * * * string cluster_name = 7; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -41,6 +43,8 @@ public interface ClusterOperationMetadataOrBuilder * * * string cluster_name = 7; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); @@ -52,6 +56,8 @@ public interface ClusterOperationMetadataOrBuilder * * * string cluster_uuid = 8; + * + * @return The clusterUuid. */ java.lang.String getClusterUuid(); /** @@ -62,6 +68,8 @@ public interface ClusterOperationMetadataOrBuilder * * * string cluster_uuid = 8; + * + * @return The bytes for clusterUuid. */ com.google.protobuf.ByteString getClusterUuidBytes(); @@ -73,6 +81,8 @@ public interface ClusterOperationMetadataOrBuilder * * * .google.cloud.dataproc.v1beta2.ClusterOperationStatus status = 9; + * + * @return Whether the status field is set. */ boolean hasStatus(); /** @@ -83,6 +93,8 @@ public interface ClusterOperationMetadataOrBuilder * * * .google.cloud.dataproc.v1beta2.ClusterOperationStatus status = 9; + * + * @return The status. */ com.google.cloud.dataproc.v1beta2.ClusterOperationStatus getStatus(); /** @@ -162,6 +174,8 @@ com.google.cloud.dataproc.v1beta2.ClusterOperationStatusOrBuilder getStatusHisto * * * string operation_type = 11; + * + * @return The operationType. */ java.lang.String getOperationType(); /** @@ -172,6 +186,8 @@ com.google.cloud.dataproc.v1beta2.ClusterOperationStatusOrBuilder getStatusHisto * * * string operation_type = 11; + * + * @return The bytes for operationType. */ com.google.protobuf.ByteString getOperationTypeBytes(); @@ -183,6 +199,8 @@ com.google.cloud.dataproc.v1beta2.ClusterOperationStatusOrBuilder getStatusHisto * * * string description = 12; + * + * @return The description. */ java.lang.String getDescription(); /** @@ -193,6 +211,8 @@ com.google.cloud.dataproc.v1beta2.ClusterOperationStatusOrBuilder getStatusHisto * * * string description = 12; + * + * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); @@ -258,6 +278,8 @@ com.google.cloud.dataproc.v1beta2.ClusterOperationStatusOrBuilder getStatusHisto * * * repeated string warnings = 14; + * + * @return A list containing the warnings. */ java.util.List getWarningsList(); /** @@ -268,6 +290,8 @@ com.google.cloud.dataproc.v1beta2.ClusterOperationStatusOrBuilder getStatusHisto * * * repeated string warnings = 14; + * + * @return The count of warnings. */ int getWarningsCount(); /** @@ -278,6 +302,9 @@ com.google.cloud.dataproc.v1beta2.ClusterOperationStatusOrBuilder getStatusHisto * * * repeated string warnings = 14; + * + * @param index The index of the element to return. + * @return The warnings at the given index. */ java.lang.String getWarnings(int index); /** @@ -288,6 +315,9 @@ com.google.cloud.dataproc.v1beta2.ClusterOperationStatusOrBuilder getStatusHisto * * * repeated string warnings = 14; + * + * @param index The index of the value to return. + * @return The bytes of the warnings at the given index. */ com.google.protobuf.ByteString getWarningsBytes(int index); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationOrBuilder.java index 96d407da..af004f61 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationOrBuilder.java @@ -31,6 +31,8 @@ public interface ClusterOperationOrBuilder * * * string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The operationId. */ java.lang.String getOperationId(); /** @@ -41,6 +43,8 @@ public interface ClusterOperationOrBuilder * * * string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for operationId. */ com.google.protobuf.ByteString getOperationIdBytes(); @@ -52,6 +56,8 @@ public interface ClusterOperationOrBuilder * * * string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The error. */ java.lang.String getError(); /** @@ -62,6 +68,8 @@ public interface ClusterOperationOrBuilder * * * string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for error. */ com.google.protobuf.ByteString getErrorBytes(); @@ -73,6 +81,8 @@ public interface ClusterOperationOrBuilder * * * bool done = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The done. */ boolean getDone(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationStatus.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationStatus.java index 96f1dde9..5829cea2 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationStatus.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationStatus.java @@ -43,6 +43,12 @@ private ClusterOperationStatus() { details_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ClusterOperationStatus(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private ClusterOperationStatus( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -239,12 +244,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static State valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static State forNumber(int value) { switch (value) { case 0: @@ -316,6 +329,8 @@ private State(int value) { * * * .google.cloud.dataproc.v1beta2.ClusterOperationStatus.State state = 1; + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -328,6 +343,8 @@ public int getStateValue() { * * * .google.cloud.dataproc.v1beta2.ClusterOperationStatus.State state = 1; + * + * @return The state. */ public com.google.cloud.dataproc.v1beta2.ClusterOperationStatus.State getState() { @SuppressWarnings("deprecation") @@ -348,6 +365,8 @@ public com.google.cloud.dataproc.v1beta2.ClusterOperationStatus.State getState() * * * string inner_state = 2; + * + * @return The innerState. */ public java.lang.String getInnerState() { java.lang.Object ref = innerState_; @@ -368,6 +387,8 @@ public java.lang.String getInnerState() { * * * string inner_state = 2; + * + * @return The bytes for innerState. */ public com.google.protobuf.ByteString getInnerStateBytes() { java.lang.Object ref = innerState_; @@ -391,6 +412,8 @@ public com.google.protobuf.ByteString getInnerStateBytes() { * * * string details = 3; + * + * @return The details. */ public java.lang.String getDetails() { java.lang.Object ref = details_; @@ -411,6 +434,8 @@ public java.lang.String getDetails() { * * * string details = 3; + * + * @return The bytes for details. */ public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; @@ -434,6 +459,8 @@ public com.google.protobuf.ByteString getDetailsBytes() { * * * .google.protobuf.Timestamp state_start_time = 4; + * + * @return Whether the stateStartTime field is set. */ public boolean hasStateStartTime() { return stateStartTime_ != null; @@ -446,6 +473,8 @@ public boolean hasStateStartTime() { * * * .google.protobuf.Timestamp state_start_time = 4; + * + * @return The stateStartTime. */ public com.google.protobuf.Timestamp getStateStartTime() { return stateStartTime_ == null @@ -854,6 +883,8 @@ public Builder mergeFrom( * * * .google.cloud.dataproc.v1beta2.ClusterOperationStatus.State state = 1; + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -866,6 +897,9 @@ public int getStateValue() { * * * .google.cloud.dataproc.v1beta2.ClusterOperationStatus.State state = 1; + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. */ public Builder setStateValue(int value) { state_ = value; @@ -880,6 +914,8 @@ public Builder setStateValue(int value) { * * * .google.cloud.dataproc.v1beta2.ClusterOperationStatus.State state = 1; + * + * @return The state. */ public com.google.cloud.dataproc.v1beta2.ClusterOperationStatus.State getState() { @SuppressWarnings("deprecation") @@ -897,6 +933,9 @@ public com.google.cloud.dataproc.v1beta2.ClusterOperationStatus.State getState() * * * .google.cloud.dataproc.v1beta2.ClusterOperationStatus.State state = 1; + * + * @param value The state to set. + * @return This builder for chaining. */ public Builder setState(com.google.cloud.dataproc.v1beta2.ClusterOperationStatus.State value) { if (value == null) { @@ -915,6 +954,8 @@ public Builder setState(com.google.cloud.dataproc.v1beta2.ClusterOperationStatus * * * .google.cloud.dataproc.v1beta2.ClusterOperationStatus.State state = 1; + * + * @return This builder for chaining. */ public Builder clearState() { @@ -932,6 +973,8 @@ public Builder clearState() { * * * string inner_state = 2; + * + * @return The innerState. */ public java.lang.String getInnerState() { java.lang.Object ref = innerState_; @@ -952,6 +995,8 @@ public java.lang.String getInnerState() { * * * string inner_state = 2; + * + * @return The bytes for innerState. */ public com.google.protobuf.ByteString getInnerStateBytes() { java.lang.Object ref = innerState_; @@ -972,6 +1017,9 @@ public com.google.protobuf.ByteString getInnerStateBytes() { * * * string inner_state = 2; + * + * @param value The innerState to set. + * @return This builder for chaining. */ public Builder setInnerState(java.lang.String value) { if (value == null) { @@ -990,6 +1038,8 @@ public Builder setInnerState(java.lang.String value) { * * * string inner_state = 2; + * + * @return This builder for chaining. */ public Builder clearInnerState() { @@ -1005,6 +1055,9 @@ public Builder clearInnerState() { * * * string inner_state = 2; + * + * @param value The bytes for innerState to set. + * @return This builder for chaining. */ public Builder setInnerStateBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1026,6 +1079,8 @@ public Builder setInnerStateBytes(com.google.protobuf.ByteString value) { * * * string details = 3; + * + * @return The details. */ public java.lang.String getDetails() { java.lang.Object ref = details_; @@ -1046,6 +1101,8 @@ public java.lang.String getDetails() { * * * string details = 3; + * + * @return The bytes for details. */ public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; @@ -1066,6 +1123,9 @@ public com.google.protobuf.ByteString getDetailsBytes() { * * * string details = 3; + * + * @param value The details to set. + * @return This builder for chaining. */ public Builder setDetails(java.lang.String value) { if (value == null) { @@ -1084,6 +1144,8 @@ public Builder setDetails(java.lang.String value) { * * * string details = 3; + * + * @return This builder for chaining. */ public Builder clearDetails() { @@ -1099,6 +1161,9 @@ public Builder clearDetails() { * * * string details = 3; + * + * @param value The bytes for details to set. + * @return This builder for chaining. */ public Builder setDetailsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1125,6 +1190,8 @@ public Builder setDetailsBytes(com.google.protobuf.ByteString value) { * * * .google.protobuf.Timestamp state_start_time = 4; + * + * @return Whether the stateStartTime field is set. */ public boolean hasStateStartTime() { return stateStartTimeBuilder_ != null || stateStartTime_ != null; @@ -1137,6 +1204,8 @@ public boolean hasStateStartTime() { * * * .google.protobuf.Timestamp state_start_time = 4; + * + * @return The stateStartTime. */ public com.google.protobuf.Timestamp getStateStartTime() { if (stateStartTimeBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationStatusOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationStatusOrBuilder.java index b8c9630d..9b0fefb4 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationStatusOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOperationStatusOrBuilder.java @@ -31,6 +31,8 @@ public interface ClusterOperationStatusOrBuilder * * * .google.cloud.dataproc.v1beta2.ClusterOperationStatus.State state = 1; + * + * @return The enum numeric value on the wire for state. */ int getStateValue(); /** @@ -41,6 +43,8 @@ public interface ClusterOperationStatusOrBuilder * * * .google.cloud.dataproc.v1beta2.ClusterOperationStatus.State state = 1; + * + * @return The state. */ com.google.cloud.dataproc.v1beta2.ClusterOperationStatus.State getState(); @@ -52,6 +56,8 @@ public interface ClusterOperationStatusOrBuilder * * * string inner_state = 2; + * + * @return The innerState. */ java.lang.String getInnerState(); /** @@ -62,6 +68,8 @@ public interface ClusterOperationStatusOrBuilder * * * string inner_state = 2; + * + * @return The bytes for innerState. */ com.google.protobuf.ByteString getInnerStateBytes(); @@ -73,6 +81,8 @@ public interface ClusterOperationStatusOrBuilder * * * string details = 3; + * + * @return The details. */ java.lang.String getDetails(); /** @@ -83,6 +93,8 @@ public interface ClusterOperationStatusOrBuilder * * * string details = 3; + * + * @return The bytes for details. */ com.google.protobuf.ByteString getDetailsBytes(); @@ -94,6 +106,8 @@ public interface ClusterOperationStatusOrBuilder * * * .google.protobuf.Timestamp state_start_time = 4; + * + * @return Whether the stateStartTime field is set. */ boolean hasStateStartTime(); /** @@ -104,6 +118,8 @@ public interface ClusterOperationStatusOrBuilder * * * .google.protobuf.Timestamp state_start_time = 4; + * + * @return The stateStartTime. */ com.google.protobuf.Timestamp getStateStartTime(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOrBuilder.java index 0cb0537a..581f609c 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterOrBuilder.java @@ -31,6 +31,8 @@ public interface ClusterOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -41,6 +43,8 @@ public interface ClusterOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -53,6 +57,8 @@ public interface ClusterOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -64,6 +70,8 @@ public interface ClusterOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); @@ -78,6 +86,8 @@ public interface ClusterOrBuilder * * .google.cloud.dataproc.v1beta2.ClusterConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ boolean hasConfig(); /** @@ -91,6 +101,8 @@ public interface ClusterOrBuilder * * .google.cloud.dataproc.v1beta2.ClusterConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ com.google.cloud.dataproc.v1beta2.ClusterConfig getConfig(); /** @@ -201,6 +213,8 @@ public interface ClusterOrBuilder * * .google.cloud.dataproc.v1beta2.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the status field is set. */ boolean hasStatus(); /** @@ -213,6 +227,8 @@ public interface ClusterOrBuilder * * .google.cloud.dataproc.v1beta2.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The status. */ com.google.cloud.dataproc.v1beta2.ClusterStatus getStatus(); /** @@ -299,6 +315,8 @@ public interface ClusterOrBuilder * * * string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterUuid. */ java.lang.String getClusterUuid(); /** @@ -310,6 +328,8 @@ public interface ClusterOrBuilder * * * string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterUuid. */ com.google.protobuf.ByteString getClusterUuidBytes(); @@ -325,6 +345,8 @@ public interface ClusterOrBuilder * * .google.cloud.dataproc.v1beta2.ClusterMetrics metrics = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the metrics field is set. */ boolean hasMetrics(); /** @@ -339,6 +361,8 @@ public interface ClusterOrBuilder * * .google.cloud.dataproc.v1beta2.ClusterMetrics metrics = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The metrics. */ com.google.cloud.dataproc.v1beta2.ClusterMetrics getMetrics(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterSelector.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterSelector.java index 901eab75..8f4a17f4 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterSelector.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterSelector.java @@ -41,6 +41,12 @@ private ClusterSelector() { zone_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ClusterSelector(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -74,11 +80,11 @@ private ClusterSelector( } case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { clusterLabels_ = com.google.protobuf.MapField.newMapField( ClusterLabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry clusterLabels__ = input.readMessage( @@ -134,7 +140,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1beta2.ClusterSelector.Builder.class); } - private int bitField0_; public static final int ZONE_FIELD_NUMBER = 1; private volatile java.lang.Object zone_; /** @@ -148,6 +153,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * string zone = 1; + * + * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -171,6 +178,8 @@ public java.lang.String getZone() { * * * string zone = 1; + * + * @return The bytes for zone. */ public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -556,11 +565,9 @@ public com.google.cloud.dataproc.v1beta2.ClusterSelector buildPartial() { com.google.cloud.dataproc.v1beta2.ClusterSelector result = new com.google.cloud.dataproc.v1beta2.ClusterSelector(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.zone_ = zone_; result.clusterLabels_ = internalGetClusterLabels(); result.clusterLabels_.makeImmutable(); - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -660,6 +667,8 @@ public Builder mergeFrom( * * * string zone = 1; + * + * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -683,6 +692,8 @@ public java.lang.String getZone() { * * * string zone = 1; + * + * @return The bytes for zone. */ public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -706,6 +717,9 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * string zone = 1; + * + * @param value The zone to set. + * @return This builder for chaining. */ public Builder setZone(java.lang.String value) { if (value == null) { @@ -727,6 +741,8 @@ public Builder setZone(java.lang.String value) { * * * string zone = 1; + * + * @return This builder for chaining. */ public Builder clearZone() { @@ -745,6 +761,9 @@ public Builder clearZone() { * * * string zone = 1; + * + * @param value The bytes for zone to set. + * @return This builder for chaining. */ public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterSelectorOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterSelectorOrBuilder.java index 246912f3..3ace5652 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterSelectorOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterSelectorOrBuilder.java @@ -34,6 +34,8 @@ public interface ClusterSelectorOrBuilder * * * string zone = 1; + * + * @return The zone. */ java.lang.String getZone(); /** @@ -47,6 +49,8 @@ public interface ClusterSelectorOrBuilder * * * string zone = 1; + * + * @return The bytes for zone. */ com.google.protobuf.ByteString getZoneBytes(); diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterStatus.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterStatus.java index 5d51d54c..8ae86862 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterStatus.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterStatus.java @@ -43,6 +43,12 @@ private ClusterStatus() { substate_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ClusterStatus(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private ClusterStatus( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -279,12 +284,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static State valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static State forNumber(int value) { switch (value) { case 0: @@ -440,12 +453,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static Substate valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static Substate forNumber(int value) { switch (value) { case 0: @@ -515,6 +536,8 @@ private Substate(int value) { * * .google.cloud.dataproc.v1beta2.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -529,6 +552,8 @@ public int getStateValue() { * * .google.cloud.dataproc.v1beta2.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1beta2.ClusterStatus.State getState() { @SuppressWarnings("deprecation") @@ -549,6 +574,8 @@ public com.google.cloud.dataproc.v1beta2.ClusterStatus.State getState() { * * * string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The detail. */ public java.lang.String getDetail() { java.lang.Object ref = detail_; @@ -569,6 +596,8 @@ public java.lang.String getDetail() { * * * string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for detail. */ public com.google.protobuf.ByteString getDetailBytes() { java.lang.Object ref = detail_; @@ -594,6 +623,8 @@ public com.google.protobuf.ByteString getDetailBytes() { * * .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the stateStartTime field is set. */ public boolean hasStateStartTime() { return stateStartTime_ != null; @@ -608,6 +639,8 @@ public boolean hasStateStartTime() { * * .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The stateStartTime. */ public com.google.protobuf.Timestamp getStateStartTime() { return stateStartTime_ == null @@ -642,6 +675,8 @@ public com.google.protobuf.TimestampOrBuilder getStateStartTimeOrBuilder() { * * .google.cloud.dataproc.v1beta2.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for substate. */ public int getSubstateValue() { return substate_; @@ -657,6 +692,8 @@ public int getSubstateValue() { * * .google.cloud.dataproc.v1beta2.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The substate. */ public com.google.cloud.dataproc.v1beta2.ClusterStatus.Substate getSubstate() { @SuppressWarnings("deprecation") @@ -1055,6 +1092,8 @@ public Builder mergeFrom( * * .google.cloud.dataproc.v1beta2.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -1069,6 +1108,9 @@ public int getStateValue() { * * .google.cloud.dataproc.v1beta2.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. */ public Builder setStateValue(int value) { state_ = value; @@ -1085,6 +1127,8 @@ public Builder setStateValue(int value) { * * .google.cloud.dataproc.v1beta2.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1beta2.ClusterStatus.State getState() { @SuppressWarnings("deprecation") @@ -1104,6 +1148,9 @@ public com.google.cloud.dataproc.v1beta2.ClusterStatus.State getState() { * * .google.cloud.dataproc.v1beta2.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The state to set. + * @return This builder for chaining. */ public Builder setState(com.google.cloud.dataproc.v1beta2.ClusterStatus.State value) { if (value == null) { @@ -1124,6 +1171,8 @@ public Builder setState(com.google.cloud.dataproc.v1beta2.ClusterStatus.State va * * .google.cloud.dataproc.v1beta2.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ public Builder clearState() { @@ -1141,6 +1190,8 @@ public Builder clearState() { * * * string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The detail. */ public java.lang.String getDetail() { java.lang.Object ref = detail_; @@ -1161,6 +1212,8 @@ public java.lang.String getDetail() { * * * string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for detail. */ public com.google.protobuf.ByteString getDetailBytes() { java.lang.Object ref = detail_; @@ -1181,6 +1234,9 @@ public com.google.protobuf.ByteString getDetailBytes() { * * * string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The detail to set. + * @return This builder for chaining. */ public Builder setDetail(java.lang.String value) { if (value == null) { @@ -1199,6 +1255,8 @@ public Builder setDetail(java.lang.String value) { * * * string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearDetail() { @@ -1214,6 +1272,9 @@ public Builder clearDetail() { * * * string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for detail to set. + * @return This builder for chaining. */ public Builder setDetailBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1242,6 +1303,8 @@ public Builder setDetailBytes(com.google.protobuf.ByteString value) { * * .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the stateStartTime field is set. */ public boolean hasStateStartTime() { return stateStartTimeBuilder_ != null || stateStartTime_ != null; @@ -1256,6 +1319,8 @@ public boolean hasStateStartTime() { * * .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The stateStartTime. */ public com.google.protobuf.Timestamp getStateStartTime() { if (stateStartTimeBuilder_ == null) { @@ -1437,6 +1502,8 @@ public com.google.protobuf.TimestampOrBuilder getStateStartTimeOrBuilder() { * * .google.cloud.dataproc.v1beta2.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for substate. */ public int getSubstateValue() { return substate_; @@ -1452,6 +1519,9 @@ public int getSubstateValue() { * * .google.cloud.dataproc.v1beta2.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The enum numeric value on the wire for substate to set. + * @return This builder for chaining. */ public Builder setSubstateValue(int value) { substate_ = value; @@ -1469,6 +1539,8 @@ public Builder setSubstateValue(int value) { * * .google.cloud.dataproc.v1beta2.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The substate. */ public com.google.cloud.dataproc.v1beta2.ClusterStatus.Substate getSubstate() { @SuppressWarnings("deprecation") @@ -1489,6 +1561,9 @@ public com.google.cloud.dataproc.v1beta2.ClusterStatus.Substate getSubstate() { * * .google.cloud.dataproc.v1beta2.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The substate to set. + * @return This builder for chaining. */ public Builder setSubstate(com.google.cloud.dataproc.v1beta2.ClusterStatus.Substate value) { if (value == null) { @@ -1510,6 +1585,8 @@ public Builder setSubstate(com.google.cloud.dataproc.v1beta2.ClusterStatus.Subst * * .google.cloud.dataproc.v1beta2.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ public Builder clearSubstate() { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterStatusOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterStatusOrBuilder.java index 3c7d439f..c6d01c4a 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterStatusOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterStatusOrBuilder.java @@ -33,6 +33,8 @@ public interface ClusterStatusOrBuilder * * .google.cloud.dataproc.v1beta2.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ int getStateValue(); /** @@ -45,6 +47,8 @@ public interface ClusterStatusOrBuilder * * .google.cloud.dataproc.v1beta2.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ com.google.cloud.dataproc.v1beta2.ClusterStatus.State getState(); @@ -56,6 +60,8 @@ public interface ClusterStatusOrBuilder * * * string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The detail. */ java.lang.String getDetail(); /** @@ -66,6 +72,8 @@ public interface ClusterStatusOrBuilder * * * string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for detail. */ com.google.protobuf.ByteString getDetailBytes(); @@ -79,6 +87,8 @@ public interface ClusterStatusOrBuilder * * .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the stateStartTime field is set. */ boolean hasStateStartTime(); /** @@ -91,6 +101,8 @@ public interface ClusterStatusOrBuilder * * .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The stateStartTime. */ com.google.protobuf.Timestamp getStateStartTime(); /** @@ -117,6 +129,8 @@ public interface ClusterStatusOrBuilder * * .google.cloud.dataproc.v1beta2.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for substate. */ int getSubstateValue(); /** @@ -130,6 +144,8 @@ public interface ClusterStatusOrBuilder * * .google.cloud.dataproc.v1beta2.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The substate. */ com.google.cloud.dataproc.v1beta2.ClusterStatus.Substate getSubstate(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClustersProto.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClustersProto.java index e1af5f66..931de286 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClustersProto.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClustersProto.java @@ -378,28 +378,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "g/genproto/googleapis/cloud/dataproc/v1b" + "eta2;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.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.dataproc.v1beta2.OperationsProto.getDescriptor(), - com.google.cloud.dataproc.v1beta2.SharedProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.cloud.dataproc.v1beta2.OperationsProto.getDescriptor(), + com.google.cloud.dataproc.v1beta2.SharedProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); internal_static_google_cloud_dataproc_v1beta2_Cluster_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_dataproc_v1beta2_Cluster_fieldAccessorTable = diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/Component.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/Component.java index cbc423dc..3c840f37 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/Component.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/Component.java @@ -220,12 +220,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static Component valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static Component forNumber(int value) { switch (value) { case 0: diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateAutoscalingPolicyRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateAutoscalingPolicyRequest.java index a99e6a60..90144992 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateAutoscalingPolicyRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateAutoscalingPolicyRequest.java @@ -42,6 +42,12 @@ private CreateAutoscalingPolicyRequest() { parent_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateAutoscalingPolicyRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private CreateAutoscalingPolicyRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -143,6 +148,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -172,6 +179,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -197,6 +206,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * .google.cloud.dataproc.v1beta2.AutoscalingPolicy policy = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the policy field is set. */ public boolean hasPolicy() { return policy_ != null; @@ -211,6 +222,8 @@ public boolean hasPolicy() { * * .google.cloud.dataproc.v1beta2.AutoscalingPolicy policy = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The policy. */ public com.google.cloud.dataproc.v1beta2.AutoscalingPolicy getPolicy() { return policy_ == null @@ -601,6 +614,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -630,6 +645,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -659,6 +676,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -686,6 +706,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -710,6 +732,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -738,6 +763,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1beta2.AutoscalingPolicy policy = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the policy field is set. */ public boolean hasPolicy() { return policyBuilder_ != null || policy_ != null; @@ -752,6 +779,8 @@ public boolean hasPolicy() { * * .google.cloud.dataproc.v1beta2.AutoscalingPolicy policy = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The policy. */ public com.google.cloud.dataproc.v1beta2.AutoscalingPolicy getPolicy() { if (policyBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateAutoscalingPolicyRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateAutoscalingPolicyRequestOrBuilder.java index f3ce7f33..d0a77c47 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateAutoscalingPolicyRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateAutoscalingPolicyRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface CreateAutoscalingPolicyRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -59,6 +61,8 @@ public interface CreateAutoscalingPolicyRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -72,6 +76,8 @@ public interface CreateAutoscalingPolicyRequestOrBuilder * * .google.cloud.dataproc.v1beta2.AutoscalingPolicy policy = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the policy field is set. */ boolean hasPolicy(); /** @@ -84,6 +90,8 @@ public interface CreateAutoscalingPolicyRequestOrBuilder * * .google.cloud.dataproc.v1beta2.AutoscalingPolicy policy = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The policy. */ com.google.cloud.dataproc.v1beta2.AutoscalingPolicy getPolicy(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateClusterRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateClusterRequest.java index 71b0fd74..419cf3dd 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateClusterRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateClusterRequest.java @@ -43,6 +43,12 @@ private CreateClusterRequest() { requestId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateClusterRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private CreateClusterRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -149,6 +154,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -170,6 +177,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -193,6 +202,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -213,6 +224,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -238,6 +251,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * .google.cloud.dataproc.v1beta2.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the cluster field is set. */ public boolean hasCluster() { return cluster_ != null; @@ -252,6 +267,8 @@ public boolean hasCluster() { * * .google.cloud.dataproc.v1beta2.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The cluster. */ public com.google.cloud.dataproc.v1beta2.Cluster getCluster() { return cluster_ == null @@ -291,6 +308,8 @@ public com.google.cloud.dataproc.v1beta2.ClusterOrBuilder getClusterOrBuilder() * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -319,6 +338,8 @@ public java.lang.String getRequestId() { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -721,6 +742,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -742,6 +765,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -763,6 +788,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -782,6 +810,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -798,6 +828,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -819,6 +852,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -839,6 +874,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -859,6 +896,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -877,6 +917,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -892,6 +934,9 @@ public Builder clearRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -920,6 +965,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1beta2.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the cluster field is set. */ public boolean hasCluster() { return clusterBuilder_ != null || cluster_ != null; @@ -934,6 +981,8 @@ public boolean hasCluster() { * * .google.cloud.dataproc.v1beta2.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The cluster. */ public com.google.cloud.dataproc.v1beta2.Cluster getCluster() { if (clusterBuilder_ == null) { @@ -1120,6 +1169,8 @@ public com.google.cloud.dataproc.v1beta2.ClusterOrBuilder getClusterOrBuilder() * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -1148,6 +1199,8 @@ public java.lang.String getRequestId() { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -1176,6 +1229,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The requestId to set. + * @return This builder for chaining. */ public Builder setRequestId(java.lang.String value) { if (value == null) { @@ -1202,6 +1258,8 @@ public Builder setRequestId(java.lang.String value) { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1225,6 +1283,9 @@ public Builder clearRequestId() { * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. */ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateClusterRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateClusterRequestOrBuilder.java index 4e783cdb..43bb1297 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateClusterRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateClusterRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface CreateClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface CreateClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface CreateClusterRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface CreateClusterRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -77,6 +85,8 @@ public interface CreateClusterRequestOrBuilder * * .google.cloud.dataproc.v1beta2.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the cluster field is set. */ boolean hasCluster(); /** @@ -89,6 +99,8 @@ public interface CreateClusterRequestOrBuilder * * .google.cloud.dataproc.v1beta2.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The cluster. */ com.google.cloud.dataproc.v1beta2.Cluster getCluster(); /** @@ -120,6 +132,8 @@ public interface CreateClusterRequestOrBuilder * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ java.lang.String getRequestId(); /** @@ -138,6 +152,8 @@ public interface CreateClusterRequestOrBuilder * * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateWorkflowTemplateRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateWorkflowTemplateRequest.java index 1c538a43..c654e590 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateWorkflowTemplateRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateWorkflowTemplateRequest.java @@ -41,6 +41,12 @@ private CreateWorkflowTemplateRequest() { parent_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateWorkflowTemplateRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private CreateWorkflowTemplateRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -142,6 +147,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -171,6 +178,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -196,6 +205,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * .google.cloud.dataproc.v1beta2.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the template field is set. */ public boolean hasTemplate() { return template_ != null; @@ -210,6 +221,8 @@ public boolean hasTemplate() { * * .google.cloud.dataproc.v1beta2.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The template. */ public com.google.cloud.dataproc.v1beta2.WorkflowTemplate getTemplate() { return template_ == null @@ -600,6 +613,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -629,6 +644,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -658,6 +675,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -685,6 +705,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -709,6 +731,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -737,6 +762,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1beta2.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the template field is set. */ public boolean hasTemplate() { return templateBuilder_ != null || template_ != null; @@ -751,6 +778,8 @@ public boolean hasTemplate() { * * .google.cloud.dataproc.v1beta2.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The template. */ public com.google.cloud.dataproc.v1beta2.WorkflowTemplate getTemplate() { if (templateBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateWorkflowTemplateRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateWorkflowTemplateRequestOrBuilder.java index ce3ff3d7..ccbbc069 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateWorkflowTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/CreateWorkflowTemplateRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface CreateWorkflowTemplateRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -59,6 +61,8 @@ public interface CreateWorkflowTemplateRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -72,6 +76,8 @@ public interface CreateWorkflowTemplateRequestOrBuilder * * .google.cloud.dataproc.v1beta2.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the template field is set. */ boolean hasTemplate(); /** @@ -84,6 +90,8 @@ public interface CreateWorkflowTemplateRequestOrBuilder * * .google.cloud.dataproc.v1beta2.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The template. */ com.google.cloud.dataproc.v1beta2.WorkflowTemplate getTemplate(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteAutoscalingPolicyRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteAutoscalingPolicyRequest.java index 6c468984..0ad23348 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteAutoscalingPolicyRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteAutoscalingPolicyRequest.java @@ -43,6 +43,12 @@ private DeleteAutoscalingPolicyRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteAutoscalingPolicyRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private DeleteAutoscalingPolicyRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -127,6 +132,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -156,6 +163,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -511,6 +520,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -540,6 +551,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -569,6 +582,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -596,6 +612,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -620,6 +638,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteAutoscalingPolicyRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteAutoscalingPolicyRequestOrBuilder.java index 7fd37050..bace1afb 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteAutoscalingPolicyRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteAutoscalingPolicyRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface DeleteAutoscalingPolicyRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -59,6 +61,8 @@ public interface DeleteAutoscalingPolicyRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteClusterRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteClusterRequest.java index e4d76f66..311ca423 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteClusterRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteClusterRequest.java @@ -45,6 +45,12 @@ private DeleteClusterRequest() { requestId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteClusterRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -58,7 +64,6 @@ private DeleteClusterRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -149,6 +154,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -170,6 +177,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -193,6 +202,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -213,6 +224,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -236,6 +249,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -256,6 +271,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -280,6 +297,8 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -301,6 +320,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -332,6 +353,8 @@ public com.google.protobuf.ByteString getClusterUuidBytes() { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -360,6 +383,8 @@ public java.lang.String getRequestId() { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -766,6 +791,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -787,6 +814,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -808,6 +837,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -827,6 +859,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -843,6 +877,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -864,6 +901,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -884,6 +923,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -904,6 +945,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -922,6 +966,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -937,6 +983,9 @@ public Builder clearRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -958,6 +1007,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -978,6 +1029,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -998,6 +1051,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -1016,6 +1072,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -1031,6 +1089,9 @@ public Builder clearClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1053,6 +1114,8 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { * * * string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -1074,6 +1137,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -1095,6 +1160,9 @@ public com.google.protobuf.ByteString getClusterUuidBytes() { * * * string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuid(java.lang.String value) { if (value == null) { @@ -1114,6 +1182,8 @@ public Builder setClusterUuid(java.lang.String value) { * * * string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearClusterUuid() { @@ -1130,6 +1200,9 @@ public Builder clearClusterUuid() { * * * string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuidBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1159,6 +1232,8 @@ public Builder setClusterUuidBytes(com.google.protobuf.ByteString value) { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -1187,6 +1262,8 @@ public java.lang.String getRequestId() { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -1215,6 +1292,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The requestId to set. + * @return This builder for chaining. */ public Builder setRequestId(java.lang.String value) { if (value == null) { @@ -1241,6 +1321,8 @@ public Builder setRequestId(java.lang.String value) { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1264,6 +1346,9 @@ public Builder clearRequestId() { * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. */ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteClusterRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteClusterRequestOrBuilder.java index 88fd0fb7..8cdd78f8 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteClusterRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteClusterRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface DeleteClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface DeleteClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface DeleteClusterRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface DeleteClusterRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface DeleteClusterRequestOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -85,6 +95,8 @@ public interface DeleteClusterRequestOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); @@ -97,6 +109,8 @@ public interface DeleteClusterRequestOrBuilder * * * string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The clusterUuid. */ java.lang.String getClusterUuid(); /** @@ -108,6 +122,8 @@ public interface DeleteClusterRequestOrBuilder * * * string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for clusterUuid. */ com.google.protobuf.ByteString getClusterUuidBytes(); @@ -127,6 +143,8 @@ public interface DeleteClusterRequestOrBuilder * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ java.lang.String getRequestId(); /** @@ -145,6 +163,8 @@ public interface DeleteClusterRequestOrBuilder * * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteJobRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteJobRequest.java index 26536848..e244f3ab 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteJobRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteJobRequest.java @@ -43,6 +43,12 @@ private DeleteJobRequest() { jobId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteJobRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private DeleteJobRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -154,6 +161,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -177,6 +186,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -197,6 +208,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -220,6 +233,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -240,6 +255,8 @@ public java.lang.String getJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -613,6 +630,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -634,6 +653,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -655,6 +676,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -674,6 +698,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -690,6 +716,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -711,6 +740,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -731,6 +762,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -751,6 +784,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -769,6 +805,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -784,6 +822,9 @@ public Builder clearRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -805,6 +846,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -825,6 +868,8 @@ public java.lang.String getJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -845,6 +890,9 @@ public com.google.protobuf.ByteString getJobIdBytes() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The jobId to set. + * @return This builder for chaining. */ public Builder setJobId(java.lang.String value) { if (value == null) { @@ -863,6 +911,8 @@ public Builder setJobId(java.lang.String value) { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearJobId() { @@ -878,6 +928,9 @@ public Builder clearJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for jobId to set. + * @return This builder for chaining. */ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteJobRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteJobRequestOrBuilder.java index 5e9d2ef9..2bf5cd1a 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteJobRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteJobRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface DeleteJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface DeleteJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface DeleteJobRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface DeleteJobRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface DeleteJobRequestOrBuilder * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ java.lang.String getJobId(); /** @@ -85,6 +95,8 @@ public interface DeleteJobRequestOrBuilder * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ com.google.protobuf.ByteString getJobIdBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteWorkflowTemplateRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteWorkflowTemplateRequest.java index 3727c4e1..48b50a25 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteWorkflowTemplateRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteWorkflowTemplateRequest.java @@ -42,6 +42,12 @@ private DeleteWorkflowTemplateRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteWorkflowTemplateRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private DeleteWorkflowTemplateRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -131,6 +136,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -160,6 +167,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -185,6 +194,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * int32 version = 2; + * + * @return The version. */ public int getVersion() { return version_; @@ -547,6 +558,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -576,6 +589,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -605,6 +620,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -632,6 +650,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -656,6 +676,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -679,6 +702,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * int32 version = 2; + * + * @return The version. */ public int getVersion() { return version_; @@ -693,6 +718,9 @@ public int getVersion() { * * * int32 version = 2; + * + * @param value The version to set. + * @return This builder for chaining. */ public Builder setVersion(int value) { @@ -710,6 +738,8 @@ public Builder setVersion(int value) { * * * int32 version = 2; + * + * @return This builder for chaining. */ public Builder clearVersion() { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteWorkflowTemplateRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteWorkflowTemplateRequestOrBuilder.java index aa673187..272ff83b 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteWorkflowTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DeleteWorkflowTemplateRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface DeleteWorkflowTemplateRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -59,6 +61,8 @@ public interface DeleteWorkflowTemplateRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -72,6 +76,8 @@ public interface DeleteWorkflowTemplateRequestOrBuilder * * * int32 version = 2; + * + * @return The version. */ int getVersion(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiagnoseClusterRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiagnoseClusterRequest.java index 973cf71b..41b32813 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiagnoseClusterRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiagnoseClusterRequest.java @@ -43,6 +43,12 @@ private DiagnoseClusterRequest() { clusterName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DiagnoseClusterRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private DiagnoseClusterRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -154,6 +161,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -177,6 +186,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -197,6 +208,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -220,6 +233,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -240,6 +255,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -614,6 +631,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -635,6 +654,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -656,6 +677,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -675,6 +699,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -691,6 +717,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -712,6 +741,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -732,6 +763,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -752,6 +785,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -770,6 +806,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -785,6 +823,9 @@ public Builder clearRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -806,6 +847,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -826,6 +869,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -846,6 +891,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -864,6 +912,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -879,6 +929,9 @@ public Builder clearClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiagnoseClusterRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiagnoseClusterRequestOrBuilder.java index 3d2c3e4d..40f6d992 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiagnoseClusterRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiagnoseClusterRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface DiagnoseClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface DiagnoseClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface DiagnoseClusterRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface DiagnoseClusterRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface DiagnoseClusterRequestOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -85,6 +95,8 @@ public interface DiagnoseClusterRequestOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiagnoseClusterResults.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiagnoseClusterResults.java index f2dacdd9..1691646a 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiagnoseClusterResults.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiagnoseClusterResults.java @@ -41,6 +41,12 @@ private DiagnoseClusterResults() { outputUri_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DiagnoseClusterResults(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private DiagnoseClusterResults( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -118,6 +123,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string output_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The outputUri. */ public java.lang.String getOutputUri() { java.lang.Object ref = outputUri_; @@ -140,6 +147,8 @@ public java.lang.String getOutputUri() { * * * string output_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for outputUri. */ public com.google.protobuf.ByteString getOutputUriBytes() { java.lang.Object ref = outputUri_; @@ -483,6 +492,8 @@ public Builder mergeFrom( * * * string output_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The outputUri. */ public java.lang.String getOutputUri() { java.lang.Object ref = outputUri_; @@ -505,6 +516,8 @@ public java.lang.String getOutputUri() { * * * string output_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for outputUri. */ public com.google.protobuf.ByteString getOutputUriBytes() { java.lang.Object ref = outputUri_; @@ -527,6 +540,9 @@ public com.google.protobuf.ByteString getOutputUriBytes() { * * * string output_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The outputUri to set. + * @return This builder for chaining. */ public Builder setOutputUri(java.lang.String value) { if (value == null) { @@ -547,6 +563,8 @@ public Builder setOutputUri(java.lang.String value) { * * * string output_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearOutputUri() { @@ -564,6 +582,9 @@ public Builder clearOutputUri() { * * * string output_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for outputUri to set. + * @return This builder for chaining. */ public Builder setOutputUriBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiagnoseClusterResultsOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiagnoseClusterResultsOrBuilder.java index 2106409c..00c71858 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiagnoseClusterResultsOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiagnoseClusterResultsOrBuilder.java @@ -33,6 +33,8 @@ public interface DiagnoseClusterResultsOrBuilder * * * string output_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The outputUri. */ java.lang.String getOutputUri(); /** @@ -45,6 +47,8 @@ public interface DiagnoseClusterResultsOrBuilder * * * string output_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for outputUri. */ com.google.protobuf.ByteString getOutputUriBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiskConfig.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiskConfig.java index 889cd03b..164457dc 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiskConfig.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiskConfig.java @@ -41,6 +41,12 @@ private DiskConfig() { bootDiskType_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DiskConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private DiskConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -128,6 +133,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bootDiskType. */ public java.lang.String getBootDiskType() { java.lang.Object ref = bootDiskType_; @@ -150,6 +157,8 @@ public java.lang.String getBootDiskType() { * * * string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for bootDiskType. */ public com.google.protobuf.ByteString getBootDiskTypeBytes() { java.lang.Object ref = bootDiskType_; @@ -173,6 +182,8 @@ public com.google.protobuf.ByteString getBootDiskTypeBytes() { * * * int32 boot_disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bootDiskSizeGb. */ public int getBootDiskSizeGb() { return bootDiskSizeGb_; @@ -193,6 +204,8 @@ public int getBootDiskSizeGb() { * * * int32 num_local_ssds = 2; + * + * @return The numLocalSsds. */ public int getNumLocalSsds() { return numLocalSsds_; @@ -555,6 +568,8 @@ public Builder mergeFrom( * * * string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bootDiskType. */ public java.lang.String getBootDiskType() { java.lang.Object ref = bootDiskType_; @@ -577,6 +592,8 @@ public java.lang.String getBootDiskType() { * * * string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for bootDiskType. */ public com.google.protobuf.ByteString getBootDiskTypeBytes() { java.lang.Object ref = bootDiskType_; @@ -599,6 +616,9 @@ public com.google.protobuf.ByteString getBootDiskTypeBytes() { * * * string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bootDiskType to set. + * @return This builder for chaining. */ public Builder setBootDiskType(java.lang.String value) { if (value == null) { @@ -619,6 +639,8 @@ public Builder setBootDiskType(java.lang.String value) { * * * string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearBootDiskType() { @@ -636,6 +658,9 @@ public Builder clearBootDiskType() { * * * string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for bootDiskType to set. + * @return This builder for chaining. */ public Builder setBootDiskTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -657,6 +682,8 @@ public Builder setBootDiskTypeBytes(com.google.protobuf.ByteString value) { * * * int32 boot_disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bootDiskSizeGb. */ public int getBootDiskSizeGb() { return bootDiskSizeGb_; @@ -669,6 +696,9 @@ public int getBootDiskSizeGb() { * * * int32 boot_disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bootDiskSizeGb to set. + * @return This builder for chaining. */ public Builder setBootDiskSizeGb(int value) { @@ -684,6 +714,8 @@ public Builder setBootDiskSizeGb(int value) { * * * int32 boot_disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearBootDiskSizeGb() { @@ -706,6 +738,8 @@ public Builder clearBootDiskSizeGb() { * * * int32 num_local_ssds = 2; + * + * @return The numLocalSsds. */ public int getNumLocalSsds() { return numLocalSsds_; @@ -723,6 +757,9 @@ public int getNumLocalSsds() { * * * int32 num_local_ssds = 2; + * + * @param value The numLocalSsds to set. + * @return This builder for chaining. */ public Builder setNumLocalSsds(int value) { @@ -743,6 +780,8 @@ public Builder setNumLocalSsds(int value) { * * * int32 num_local_ssds = 2; + * + * @return This builder for chaining. */ public Builder clearNumLocalSsds() { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiskConfigOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiskConfigOrBuilder.java index 2ee82f7f..3a64860e 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiskConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/DiskConfigOrBuilder.java @@ -33,6 +33,8 @@ public interface DiskConfigOrBuilder * * * string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bootDiskType. */ java.lang.String getBootDiskType(); /** @@ -45,6 +47,8 @@ public interface DiskConfigOrBuilder * * * string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for bootDiskType. */ com.google.protobuf.ByteString getBootDiskTypeBytes(); @@ -56,6 +60,8 @@ public interface DiskConfigOrBuilder * * * int32 boot_disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bootDiskSizeGb. */ int getBootDiskSizeGb(); @@ -72,6 +78,8 @@ public interface DiskConfigOrBuilder * * * int32 num_local_ssds = 2; + * + * @return The numLocalSsds. */ int getNumLocalSsds(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/EncryptionConfig.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/EncryptionConfig.java index 3c03e9e2..2be0e720 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/EncryptionConfig.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/EncryptionConfig.java @@ -41,6 +41,12 @@ private EncryptionConfig() { gcePdKmsKeyName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new EncryptionConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private EncryptionConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The gcePdKmsKeyName. */ public java.lang.String getGcePdKmsKeyName() { java.lang.Object ref = gcePdKmsKeyName_; @@ -138,6 +145,8 @@ public java.lang.String getGcePdKmsKeyName() { * * * string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for gcePdKmsKeyName. */ public com.google.protobuf.ByteString getGcePdKmsKeyNameBytes() { java.lang.Object ref = gcePdKmsKeyName_; @@ -479,6 +488,8 @@ public Builder mergeFrom( * * * string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The gcePdKmsKeyName. */ public java.lang.String getGcePdKmsKeyName() { java.lang.Object ref = gcePdKmsKeyName_; @@ -500,6 +511,8 @@ public java.lang.String getGcePdKmsKeyName() { * * * string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for gcePdKmsKeyName. */ public com.google.protobuf.ByteString getGcePdKmsKeyNameBytes() { java.lang.Object ref = gcePdKmsKeyName_; @@ -521,6 +534,9 @@ public com.google.protobuf.ByteString getGcePdKmsKeyNameBytes() { * * * string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The gcePdKmsKeyName to set. + * @return This builder for chaining. */ public Builder setGcePdKmsKeyName(java.lang.String value) { if (value == null) { @@ -540,6 +556,8 @@ public Builder setGcePdKmsKeyName(java.lang.String value) { * * * string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearGcePdKmsKeyName() { @@ -556,6 +574,9 @@ public Builder clearGcePdKmsKeyName() { * * * string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for gcePdKmsKeyName to set. + * @return This builder for chaining. */ public Builder setGcePdKmsKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/EncryptionConfigOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/EncryptionConfigOrBuilder.java index b0b2bb91..0b8ac3ce 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/EncryptionConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/EncryptionConfigOrBuilder.java @@ -32,6 +32,8 @@ public interface EncryptionConfigOrBuilder * * * string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The gcePdKmsKeyName. */ java.lang.String getGcePdKmsKeyName(); /** @@ -43,6 +45,8 @@ public interface EncryptionConfigOrBuilder * * * string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for gcePdKmsKeyName. */ com.google.protobuf.ByteString getGcePdKmsKeyNameBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/EndpointConfig.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/EndpointConfig.java index 02aa3b44..6e0331f2 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/EndpointConfig.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/EndpointConfig.java @@ -39,6 +39,12 @@ private EndpointConfig(com.google.protobuf.GeneratedMessageV3.Builder builder private EndpointConfig() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new EndpointConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -128,7 +134,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1beta2.EndpointConfig.Builder.class); } - private int bitField0_; public static final int HTTP_PORTS_FIELD_NUMBER = 1; private static final class HttpPortsDefaultEntryHolder { @@ -242,6 +247,8 @@ public java.lang.String getHttpPortsOrThrow(java.lang.String key) { * * * bool enable_http_port_access = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableHttpPortAccess. */ public boolean getEnableHttpPortAccess() { return enableHttpPortAccess_; @@ -519,11 +526,9 @@ public com.google.cloud.dataproc.v1beta2.EndpointConfig buildPartial() { com.google.cloud.dataproc.v1beta2.EndpointConfig result = new com.google.cloud.dataproc.v1beta2.EndpointConfig(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.httpPorts_ = internalGetHttpPorts(); result.httpPorts_.makeImmutable(); result.enableHttpPortAccess_ = enableHttpPortAccess_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -787,6 +792,8 @@ public Builder putAllHttpPorts(java.util.Map * * * bool enable_http_port_access = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableHttpPortAccess. */ public boolean getEnableHttpPortAccess() { return enableHttpPortAccess_; @@ -800,6 +807,9 @@ public boolean getEnableHttpPortAccess() { * * * bool enable_http_port_access = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The enableHttpPortAccess to set. + * @return This builder for chaining. */ public Builder setEnableHttpPortAccess(boolean value) { @@ -816,6 +826,8 @@ public Builder setEnableHttpPortAccess(boolean value) { * * * bool enable_http_port_access = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearEnableHttpPortAccess() { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/EndpointConfigOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/EndpointConfigOrBuilder.java index 2e06fa35..d0d80240 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/EndpointConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/EndpointConfigOrBuilder.java @@ -96,6 +96,8 @@ public interface EndpointConfigOrBuilder * * * bool enable_http_port_access = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableHttpPortAccess. */ boolean getEnableHttpPortAccess(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GceClusterConfig.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GceClusterConfig.java index 10485f83..9dcacd0b 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GceClusterConfig.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GceClusterConfig.java @@ -47,6 +47,12 @@ private GceClusterConfig() { tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GceClusterConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -88,9 +94,9 @@ private GceClusterConfig( case 26: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { serviceAccountScopes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000001; } serviceAccountScopes_.add(s); break; @@ -98,20 +104,20 @@ private GceClusterConfig( case 34: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000040) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000040; + mutable_bitField0_ |= 0x00000002; } tags_.add(s); break; } case 42: { - if (!((mutable_bitField0_ & 0x00000080) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000080; + mutable_bitField0_ |= 0x00000004; } com.google.protobuf.MapEntry metadata__ = input.readMessage( @@ -170,10 +176,10 @@ private GceClusterConfig( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000020) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { serviceAccountScopes_ = serviceAccountScopes_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000040) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { tags_ = tags_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -207,7 +213,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1beta2.GceClusterConfig.Builder.class); } - private int bitField0_; public static final int ZONE_URI_FIELD_NUMBER = 1; private volatile java.lang.Object zoneUri_; /** @@ -226,6 +231,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The zoneUri. */ public java.lang.String getZoneUri() { java.lang.Object ref = zoneUri_; @@ -254,6 +261,8 @@ public java.lang.String getZoneUri() { * * * string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for zoneUri. */ public com.google.protobuf.ByteString getZoneUriBytes() { java.lang.Object ref = zoneUri_; @@ -285,6 +294,8 @@ public com.google.protobuf.ByteString getZoneUriBytes() { * * * string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; @@ -313,6 +324,8 @@ public java.lang.String getNetworkUri() { * * * string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for networkUri. */ public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; @@ -341,6 +354,8 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { * * * string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The subnetworkUri. */ public java.lang.String getSubnetworkUri() { java.lang.Object ref = subnetworkUri_; @@ -366,6 +381,8 @@ public java.lang.String getSubnetworkUri() { * * * string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for subnetworkUri. */ public com.google.protobuf.ByteString getSubnetworkUriBytes() { java.lang.Object ref = subnetworkUri_; @@ -394,6 +411,8 @@ public com.google.protobuf.ByteString getSubnetworkUriBytes() { * * * bool internal_ip_only = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The internalIpOnly. */ public boolean getInternalIpOnly() { return internalIpOnly_; @@ -417,6 +436,8 @@ public boolean getInternalIpOnly() { * * * string service_account = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; @@ -445,6 +466,8 @@ public java.lang.String getServiceAccount() { * * * string service_account = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for serviceAccount. */ public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; @@ -479,6 +502,8 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return A list containing the serviceAccountScopes. */ public com.google.protobuf.ProtocolStringList getServiceAccountScopesList() { return serviceAccountScopes_; @@ -502,6 +527,8 @@ public com.google.protobuf.ProtocolStringList getServiceAccountScopesList() { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The count of serviceAccountScopes. */ public int getServiceAccountScopesCount() { return serviceAccountScopes_.size(); @@ -525,6 +552,9 @@ public int getServiceAccountScopesCount() { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the element to return. + * @return The serviceAccountScopes at the given index. */ public java.lang.String getServiceAccountScopes(int index) { return serviceAccountScopes_.get(index); @@ -548,6 +578,9 @@ public java.lang.String getServiceAccountScopes(int index) { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the value to return. + * @return The bytes of the serviceAccountScopes at the given index. */ public com.google.protobuf.ByteString getServiceAccountScopesBytes(int index) { return serviceAccountScopes_.getByteString(index); @@ -564,6 +597,8 @@ public com.google.protobuf.ByteString getServiceAccountScopesBytes(int index) { * * * repeated string tags = 4; + * + * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; @@ -577,6 +612,8 @@ public com.google.protobuf.ProtocolStringList getTagsList() { * * * repeated string tags = 4; + * + * @return The count of tags. */ public int getTagsCount() { return tags_.size(); @@ -590,6 +627,9 @@ public int getTagsCount() { * * * repeated string tags = 4; + * + * @param index The index of the element to return. + * @return The tags at the given index. */ public java.lang.String getTags(int index) { return tags_.get(index); @@ -603,6 +643,9 @@ public java.lang.String getTags(int index) { * * * repeated string tags = 4; + * + * @param index The index of the value to return. + * @return The bytes of the tags at the given index. */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); @@ -722,6 +765,8 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) { * * .google.cloud.dataproc.v1beta2.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the reservationAffinity field is set. */ public boolean hasReservationAffinity() { return reservationAffinity_ != null; @@ -736,6 +781,8 @@ public boolean hasReservationAffinity() { * * .google.cloud.dataproc.v1beta2.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The reservationAffinity. */ public com.google.cloud.dataproc.v1beta2.ReservationAffinity getReservationAffinity() { return reservationAffinity_ == null @@ -1095,9 +1142,9 @@ public Builder clear() { serviceAccount_ = ""; serviceAccountScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000001); tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000002); internalGetMutableMetadata().clear(); if (reservationAffinityBuilder_ == null) { reservationAffinity_ = null; @@ -1133,20 +1180,19 @@ public com.google.cloud.dataproc.v1beta2.GceClusterConfig buildPartial() { com.google.cloud.dataproc.v1beta2.GceClusterConfig result = new com.google.cloud.dataproc.v1beta2.GceClusterConfig(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.zoneUri_ = zoneUri_; result.networkUri_ = networkUri_; result.subnetworkUri_ = subnetworkUri_; result.internalIpOnly_ = internalIpOnly_; result.serviceAccount_ = serviceAccount_; - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { serviceAccountScopes_ = serviceAccountScopes_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000001); } result.serviceAccountScopes_ = serviceAccountScopes_; - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { tags_ = tags_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000002); } result.tags_ = tags_; result.metadata_ = internalGetMetadata(); @@ -1156,7 +1202,6 @@ public com.google.cloud.dataproc.v1beta2.GceClusterConfig buildPartial() { } else { result.reservationAffinity_ = reservationAffinityBuilder_.build(); } - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1229,7 +1274,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.GceClusterConfig othe if (!other.serviceAccountScopes_.isEmpty()) { if (serviceAccountScopes_.isEmpty()) { serviceAccountScopes_ = other.serviceAccountScopes_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureServiceAccountScopesIsMutable(); serviceAccountScopes_.addAll(other.serviceAccountScopes_); @@ -1239,7 +1284,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.GceClusterConfig othe if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { tags_ = other.tags_; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureTagsIsMutable(); tags_.addAll(other.tags_); @@ -1299,6 +1344,8 @@ public Builder mergeFrom( * * * string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The zoneUri. */ public java.lang.String getZoneUri() { java.lang.Object ref = zoneUri_; @@ -1327,6 +1374,8 @@ public java.lang.String getZoneUri() { * * * string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for zoneUri. */ public com.google.protobuf.ByteString getZoneUriBytes() { java.lang.Object ref = zoneUri_; @@ -1355,6 +1404,9 @@ public com.google.protobuf.ByteString getZoneUriBytes() { * * * string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The zoneUri to set. + * @return This builder for chaining. */ public Builder setZoneUri(java.lang.String value) { if (value == null) { @@ -1381,6 +1433,8 @@ public Builder setZoneUri(java.lang.String value) { * * * string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearZoneUri() { @@ -1404,6 +1458,9 @@ public Builder clearZoneUri() { * * * string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for zoneUri to set. + * @return This builder for chaining. */ public Builder setZoneUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1433,6 +1490,8 @@ public Builder setZoneUriBytes(com.google.protobuf.ByteString value) { * * * string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; @@ -1461,6 +1520,8 @@ public java.lang.String getNetworkUri() { * * * string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for networkUri. */ public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; @@ -1489,6 +1550,9 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { * * * string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The networkUri to set. + * @return This builder for chaining. */ public Builder setNetworkUri(java.lang.String value) { if (value == null) { @@ -1515,6 +1579,8 @@ public Builder setNetworkUri(java.lang.String value) { * * * string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1538,6 +1604,9 @@ public Builder clearNetworkUri() { * * * string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for networkUri to set. + * @return This builder for chaining. */ public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1564,6 +1633,8 @@ public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { * * * string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The subnetworkUri. */ public java.lang.String getSubnetworkUri() { java.lang.Object ref = subnetworkUri_; @@ -1589,6 +1660,8 @@ public java.lang.String getSubnetworkUri() { * * * string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for subnetworkUri. */ public com.google.protobuf.ByteString getSubnetworkUriBytes() { java.lang.Object ref = subnetworkUri_; @@ -1614,6 +1687,9 @@ public com.google.protobuf.ByteString getSubnetworkUriBytes() { * * * string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The subnetworkUri to set. + * @return This builder for chaining. */ public Builder setSubnetworkUri(java.lang.String value) { if (value == null) { @@ -1637,6 +1713,8 @@ public Builder setSubnetworkUri(java.lang.String value) { * * * string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearSubnetworkUri() { @@ -1657,6 +1735,9 @@ public Builder clearSubnetworkUri() { * * * string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for subnetworkUri to set. + * @return This builder for chaining. */ public Builder setSubnetworkUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1683,6 +1764,8 @@ public Builder setSubnetworkUriBytes(com.google.protobuf.ByteString value) { * * * bool internal_ip_only = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The internalIpOnly. */ public boolean getInternalIpOnly() { return internalIpOnly_; @@ -1700,6 +1783,9 @@ public boolean getInternalIpOnly() { * * * bool internal_ip_only = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The internalIpOnly to set. + * @return This builder for chaining. */ public Builder setInternalIpOnly(boolean value) { @@ -1720,6 +1806,8 @@ public Builder setInternalIpOnly(boolean value) { * * * bool internal_ip_only = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearInternalIpOnly() { @@ -1745,6 +1833,8 @@ public Builder clearInternalIpOnly() { * * * string service_account = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; @@ -1773,6 +1863,8 @@ public java.lang.String getServiceAccount() { * * * string service_account = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for serviceAccount. */ public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; @@ -1801,6 +1893,9 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { * * * string service_account = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The serviceAccount to set. + * @return This builder for chaining. */ public Builder setServiceAccount(java.lang.String value) { if (value == null) { @@ -1827,6 +1922,8 @@ public Builder setServiceAccount(java.lang.String value) { * * * string service_account = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearServiceAccount() { @@ -1850,6 +1947,9 @@ public Builder clearServiceAccount() { * * * string service_account = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for serviceAccount to set. + * @return This builder for chaining. */ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1866,9 +1966,9 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureServiceAccountScopesIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { serviceAccountScopes_ = new com.google.protobuf.LazyStringArrayList(serviceAccountScopes_); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000001; } } /** @@ -1890,6 +1990,8 @@ private void ensureServiceAccountScopesIsMutable() { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return A list containing the serviceAccountScopes. */ public com.google.protobuf.ProtocolStringList getServiceAccountScopesList() { return serviceAccountScopes_.getUnmodifiableView(); @@ -1913,6 +2015,8 @@ public com.google.protobuf.ProtocolStringList getServiceAccountScopesList() { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The count of serviceAccountScopes. */ public int getServiceAccountScopesCount() { return serviceAccountScopes_.size(); @@ -1936,6 +2040,9 @@ public int getServiceAccountScopesCount() { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the element to return. + * @return The serviceAccountScopes at the given index. */ public java.lang.String getServiceAccountScopes(int index) { return serviceAccountScopes_.get(index); @@ -1959,6 +2066,9 @@ public java.lang.String getServiceAccountScopes(int index) { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the value to return. + * @return The bytes of the serviceAccountScopes at the given index. */ public com.google.protobuf.ByteString getServiceAccountScopesBytes(int index) { return serviceAccountScopes_.getByteString(index); @@ -1982,6 +2092,10 @@ public com.google.protobuf.ByteString getServiceAccountScopesBytes(int index) { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index to set the value at. + * @param value The serviceAccountScopes to set. + * @return This builder for chaining. */ public Builder setServiceAccountScopes(int index, java.lang.String value) { if (value == null) { @@ -2011,6 +2125,9 @@ public Builder setServiceAccountScopes(int index, java.lang.String value) { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The serviceAccountScopes to add. + * @return This builder for chaining. */ public Builder addServiceAccountScopes(java.lang.String value) { if (value == null) { @@ -2040,6 +2157,9 @@ public Builder addServiceAccountScopes(java.lang.String value) { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param values The serviceAccountScopes to add. + * @return This builder for chaining. */ public Builder addAllServiceAccountScopes(java.lang.Iterable values) { ensureServiceAccountScopesIsMutable(); @@ -2066,10 +2186,12 @@ public Builder addAllServiceAccountScopes(java.lang.Iterable v * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearServiceAccountScopes() { serviceAccountScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -2092,6 +2214,9 @@ public Builder clearServiceAccountScopes() { * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The bytes of the serviceAccountScopes to add. + * @return This builder for chaining. */ public Builder addServiceAccountScopesBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2108,9 +2233,9 @@ public Builder addServiceAccountScopesBytes(com.google.protobuf.ByteString value com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagsIsMutable() { - if (!((bitField0_ & 0x00000040) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000002; } } /** @@ -2122,6 +2247,8 @@ private void ensureTagsIsMutable() { * * * repeated string tags = 4; + * + * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); @@ -2135,6 +2262,8 @@ public com.google.protobuf.ProtocolStringList getTagsList() { * * * repeated string tags = 4; + * + * @return The count of tags. */ public int getTagsCount() { return tags_.size(); @@ -2148,6 +2277,9 @@ public int getTagsCount() { * * * repeated string tags = 4; + * + * @param index The index of the element to return. + * @return The tags at the given index. */ public java.lang.String getTags(int index) { return tags_.get(index); @@ -2161,6 +2293,9 @@ public java.lang.String getTags(int index) { * * * repeated string tags = 4; + * + * @param index The index of the value to return. + * @return The bytes of the tags at the given index. */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); @@ -2174,6 +2309,10 @@ public com.google.protobuf.ByteString getTagsBytes(int index) { * * * repeated string tags = 4; + * + * @param index The index to set the value at. + * @param value The tags to set. + * @return This builder for chaining. */ public Builder setTags(int index, java.lang.String value) { if (value == null) { @@ -2193,6 +2332,9 @@ public Builder setTags(int index, java.lang.String value) { * * * repeated string tags = 4; + * + * @param value The tags to add. + * @return This builder for chaining. */ public Builder addTags(java.lang.String value) { if (value == null) { @@ -2212,6 +2354,9 @@ public Builder addTags(java.lang.String value) { * * * repeated string tags = 4; + * + * @param values The tags to add. + * @return This builder for chaining. */ public Builder addAllTags(java.lang.Iterable values) { ensureTagsIsMutable(); @@ -2228,10 +2373,12 @@ public Builder addAllTags(java.lang.Iterable values) { * * * repeated string tags = 4; + * + * @return This builder for chaining. */ public Builder clearTags() { tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -2244,6 +2391,9 @@ public Builder clearTags() { * * * repeated string tags = 4; + * + * @param value The bytes of the tags to add. + * @return This builder for chaining. */ public Builder addTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2439,6 +2589,8 @@ public Builder putAllMetadata(java.util.Map * * .google.cloud.dataproc.v1beta2.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the reservationAffinity field is set. */ public boolean hasReservationAffinity() { return reservationAffinityBuilder_ != null || reservationAffinity_ != null; @@ -2453,6 +2605,8 @@ public boolean hasReservationAffinity() { * * .google.cloud.dataproc.v1beta2.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The reservationAffinity. */ public com.google.cloud.dataproc.v1beta2.ReservationAffinity getReservationAffinity() { if (reservationAffinityBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GceClusterConfigOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GceClusterConfigOrBuilder.java index d19d209a..59324b31 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GceClusterConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GceClusterConfigOrBuilder.java @@ -39,6 +39,8 @@ public interface GceClusterConfigOrBuilder * * * string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The zoneUri. */ java.lang.String getZoneUri(); /** @@ -57,6 +59,8 @@ public interface GceClusterConfigOrBuilder * * * string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for zoneUri. */ com.google.protobuf.ByteString getZoneUriBytes(); @@ -76,6 +80,8 @@ public interface GceClusterConfigOrBuilder * * * string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The networkUri. */ java.lang.String getNetworkUri(); /** @@ -94,6 +100,8 @@ public interface GceClusterConfigOrBuilder * * * string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for networkUri. */ com.google.protobuf.ByteString getNetworkUriBytes(); @@ -110,6 +118,8 @@ public interface GceClusterConfigOrBuilder * * * string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The subnetworkUri. */ java.lang.String getSubnetworkUri(); /** @@ -125,6 +135,8 @@ public interface GceClusterConfigOrBuilder * * * string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for subnetworkUri. */ com.google.protobuf.ByteString getSubnetworkUriBytes(); @@ -141,6 +153,8 @@ public interface GceClusterConfigOrBuilder * * * bool internal_ip_only = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The internalIpOnly. */ boolean getInternalIpOnly(); @@ -160,6 +174,8 @@ public interface GceClusterConfigOrBuilder * * * string service_account = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** @@ -178,6 +194,8 @@ public interface GceClusterConfigOrBuilder * * * string service_account = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for serviceAccount. */ com.google.protobuf.ByteString getServiceAccountBytes(); @@ -200,6 +218,8 @@ public interface GceClusterConfigOrBuilder * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return A list containing the serviceAccountScopes. */ java.util.List getServiceAccountScopesList(); /** @@ -221,6 +241,8 @@ public interface GceClusterConfigOrBuilder * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The count of serviceAccountScopes. */ int getServiceAccountScopesCount(); /** @@ -242,6 +264,9 @@ public interface GceClusterConfigOrBuilder * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the element to return. + * @return The serviceAccountScopes at the given index. */ java.lang.String getServiceAccountScopes(int index); /** @@ -263,6 +288,9 @@ public interface GceClusterConfigOrBuilder * * repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the value to return. + * @return The bytes of the serviceAccountScopes at the given index. */ com.google.protobuf.ByteString getServiceAccountScopesBytes(int index); @@ -275,6 +303,8 @@ public interface GceClusterConfigOrBuilder * * * repeated string tags = 4; + * + * @return A list containing the tags. */ java.util.List getTagsList(); /** @@ -286,6 +316,8 @@ public interface GceClusterConfigOrBuilder * * * repeated string tags = 4; + * + * @return The count of tags. */ int getTagsCount(); /** @@ -297,6 +329,9 @@ public interface GceClusterConfigOrBuilder * * * repeated string tags = 4; + * + * @param index The index of the element to return. + * @return The tags at the given index. */ java.lang.String getTags(int index); /** @@ -308,6 +343,9 @@ public interface GceClusterConfigOrBuilder * * * repeated string tags = 4; + * + * @param index The index of the value to return. + * @return The bytes of the tags at the given index. */ com.google.protobuf.ByteString getTagsBytes(int index); @@ -385,6 +423,8 @@ public interface GceClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the reservationAffinity field is set. */ boolean hasReservationAffinity(); /** @@ -397,6 +437,8 @@ public interface GceClusterConfigOrBuilder * * .google.cloud.dataproc.v1beta2.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The reservationAffinity. */ com.google.cloud.dataproc.v1beta2.ReservationAffinity getReservationAffinity(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetAutoscalingPolicyRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetAutoscalingPolicyRequest.java index f21814ff..1db9d42a 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetAutoscalingPolicyRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetAutoscalingPolicyRequest.java @@ -41,6 +41,12 @@ private GetAutoscalingPolicyRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetAutoscalingPolicyRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private GetAutoscalingPolicyRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -125,6 +130,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -154,6 +161,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -507,6 +516,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -536,6 +547,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -565,6 +578,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -592,6 +608,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -616,6 +634,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetAutoscalingPolicyRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetAutoscalingPolicyRequestOrBuilder.java index 05cf9eaf..23ff7385 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetAutoscalingPolicyRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetAutoscalingPolicyRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface GetAutoscalingPolicyRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -59,6 +61,8 @@ public interface GetAutoscalingPolicyRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetClusterRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetClusterRequest.java index aa2f563d..1aa7c8fa 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetClusterRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetClusterRequest.java @@ -43,6 +43,12 @@ private GetClusterRequest() { clusterName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetClusterRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private GetClusterRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -154,6 +161,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -177,6 +186,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -197,6 +208,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -220,6 +233,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -240,6 +255,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -613,6 +630,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -634,6 +653,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -655,6 +676,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -674,6 +698,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -690,6 +716,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -711,6 +740,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -731,6 +762,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -751,6 +784,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -769,6 +805,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -784,6 +822,9 @@ public Builder clearRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -805,6 +846,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -825,6 +868,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -845,6 +890,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -863,6 +911,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -878,6 +928,9 @@ public Builder clearClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetClusterRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetClusterRequestOrBuilder.java index e3fc15ca..b899af56 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetClusterRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetClusterRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface GetClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface GetClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface GetClusterRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface GetClusterRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface GetClusterRequestOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -85,6 +95,8 @@ public interface GetClusterRequestOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetJobRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetJobRequest.java index 9c8ec4f0..0f6d37fb 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetJobRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetJobRequest.java @@ -43,6 +43,12 @@ private GetJobRequest() { jobId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetJobRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private GetJobRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -154,6 +161,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -177,6 +186,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -197,6 +208,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -220,6 +233,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -240,6 +255,8 @@ public java.lang.String getJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -612,6 +629,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -633,6 +652,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -654,6 +675,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -673,6 +697,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -689,6 +715,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -710,6 +739,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -730,6 +761,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -750,6 +783,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -768,6 +804,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -783,6 +821,9 @@ public Builder clearRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -804,6 +845,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -824,6 +867,8 @@ public java.lang.String getJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -844,6 +889,9 @@ public com.google.protobuf.ByteString getJobIdBytes() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The jobId to set. + * @return This builder for chaining. */ public Builder setJobId(java.lang.String value) { if (value == null) { @@ -862,6 +910,8 @@ public Builder setJobId(java.lang.String value) { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearJobId() { @@ -877,6 +927,9 @@ public Builder clearJobId() { * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for jobId to set. + * @return This builder for chaining. */ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetJobRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetJobRequestOrBuilder.java index f4931ca8..97b37f1a 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetJobRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetJobRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface GetJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface GetJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface GetJobRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface GetJobRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface GetJobRequestOrBuilder * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ java.lang.String getJobId(); /** @@ -85,6 +95,8 @@ public interface GetJobRequestOrBuilder * * * string job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ com.google.protobuf.ByteString getJobIdBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetWorkflowTemplateRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetWorkflowTemplateRequest.java index 00a74f76..190a7d73 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetWorkflowTemplateRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetWorkflowTemplateRequest.java @@ -41,6 +41,12 @@ private GetWorkflowTemplateRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetWorkflowTemplateRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private GetWorkflowTemplateRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -130,6 +135,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -159,6 +166,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -184,6 +193,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * int32 version = 2; + * + * @return The version. */ public int getVersion() { return version_; @@ -543,6 +554,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -572,6 +585,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -601,6 +616,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -628,6 +646,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -652,6 +672,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -675,6 +698,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * int32 version = 2; + * + * @return The version. */ public int getVersion() { return version_; @@ -689,6 +714,9 @@ public int getVersion() { * * * int32 version = 2; + * + * @param value The version to set. + * @return This builder for chaining. */ public Builder setVersion(int value) { @@ -706,6 +734,8 @@ public Builder setVersion(int value) { * * * int32 version = 2; + * + * @return This builder for chaining. */ public Builder clearVersion() { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetWorkflowTemplateRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetWorkflowTemplateRequestOrBuilder.java index 09c659ae..be9d880a 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetWorkflowTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/GetWorkflowTemplateRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface GetWorkflowTemplateRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -59,6 +61,8 @@ public interface GetWorkflowTemplateRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -72,6 +76,8 @@ public interface GetWorkflowTemplateRequestOrBuilder * * * int32 version = 2; + * + * @return The version. */ int getVersion(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HadoopJob.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HadoopJob.java index a0cf262f..b90abddf 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HadoopJob.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HadoopJob.java @@ -48,6 +48,12 @@ private HadoopJob() { archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new HadoopJob(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -89,9 +95,9 @@ private HadoopJob( case 26: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000001; } args_.add(s); break; @@ -99,9 +105,9 @@ private HadoopJob( case 34: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { jarFileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000002; } jarFileUris_.add(s); break; @@ -109,9 +115,9 @@ private HadoopJob( case 42: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { fileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000004; } fileUris_.add(s); break; @@ -119,20 +125,20 @@ private HadoopJob( case 50: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { archiveUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000008; } archiveUris_.add(s); break; } case 58: { - if (!((mutable_bitField0_ & 0x00000040) != 0)) { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000040; + mutable_bitField0_ |= 0x00000010; } com.google.protobuf.MapEntry properties__ = input.readMessage( @@ -171,16 +177,16 @@ private HadoopJob( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000008) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000010) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { fileUris_ = fileUris_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000020) != 0)) { + if (((mutable_bitField0_ & 0x00000008) != 0)) { archiveUris_ = archiveUris_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -214,11 +220,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1beta2.HadoopJob.Builder.class); } - private int bitField0_; private int driverCase_ = 0; private java.lang.Object driver_; - public enum DriverCase implements com.google.protobuf.Internal.EnumLite { + public enum DriverCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAIN_JAR_FILE_URI(1), MAIN_CLASS(2), DRIVER_NOT_SET(0); @@ -227,7 +235,11 @@ public enum DriverCase implements com.google.protobuf.Internal.EnumLite { private DriverCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static DriverCase valueOf(int value) { return forNumber(value); @@ -268,6 +280,8 @@ public DriverCase getDriverCase() { * * * string main_jar_file_uri = 1; + * + * @return The mainJarFileUri. */ public java.lang.String getMainJarFileUri() { java.lang.Object ref = ""; @@ -297,6 +311,8 @@ public java.lang.String getMainJarFileUri() { * * * string main_jar_file_uri = 1; + * + * @return The bytes for mainJarFileUri. */ public com.google.protobuf.ByteString getMainJarFileUriBytes() { java.lang.Object ref = ""; @@ -325,6 +341,8 @@ public com.google.protobuf.ByteString getMainJarFileUriBytes() { * * * string main_class = 2; + * + * @return The mainClass. */ public java.lang.String getMainClass() { java.lang.Object ref = ""; @@ -351,6 +369,8 @@ public java.lang.String getMainClass() { * * * string main_class = 2; + * + * @return The bytes for mainClass. */ public com.google.protobuf.ByteString getMainClassBytes() { java.lang.Object ref = ""; @@ -382,6 +402,8 @@ public com.google.protobuf.ByteString getMainClassBytes() { * * * repeated string args = 3; + * + * @return A list containing the args. */ public com.google.protobuf.ProtocolStringList getArgsList() { return args_; @@ -397,6 +419,8 @@ public com.google.protobuf.ProtocolStringList getArgsList() { * * * repeated string args = 3; + * + * @return The count of args. */ public int getArgsCount() { return args_.size(); @@ -412,6 +436,9 @@ public int getArgsCount() { * * * repeated string args = 3; + * + * @param index The index of the element to return. + * @return The args at the given index. */ public java.lang.String getArgs(int index) { return args_.get(index); @@ -427,6 +454,9 @@ public java.lang.String getArgs(int index) { * * * repeated string args = 3; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); @@ -443,6 +473,8 @@ public com.google.protobuf.ByteString getArgsBytes(int index) { * * * repeated string jar_file_uris = 4; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_; @@ -456,6 +488,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 4; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -469,6 +503,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 4; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -482,6 +519,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 4; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -499,6 +539,8 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * repeated string file_uris = 5; + * + * @return A list containing the fileUris. */ public com.google.protobuf.ProtocolStringList getFileUrisList() { return fileUris_; @@ -513,6 +555,8 @@ public com.google.protobuf.ProtocolStringList getFileUrisList() { * * * repeated string file_uris = 5; + * + * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); @@ -527,6 +571,9 @@ public int getFileUrisCount() { * * * repeated string file_uris = 5; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ public java.lang.String getFileUris(int index) { return fileUris_.get(index); @@ -541,6 +588,9 @@ public java.lang.String getFileUris(int index) { * * * repeated string file_uris = 5; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ public com.google.protobuf.ByteString getFileUrisBytes(int index) { return fileUris_.getByteString(index); @@ -558,6 +608,8 @@ public com.google.protobuf.ByteString getFileUrisBytes(int index) { * * * repeated string archive_uris = 6; + * + * @return A list containing the archiveUris. */ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { return archiveUris_; @@ -572,6 +624,8 @@ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { * * * repeated string archive_uris = 6; + * + * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); @@ -586,6 +640,9 @@ public int getArchiveUrisCount() { * * * repeated string archive_uris = 6; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); @@ -600,6 +657,9 @@ public java.lang.String getArchiveUris(int index) { * * * repeated string archive_uris = 6; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); @@ -721,6 +781,8 @@ public java.lang.String getPropertiesOrThrow(java.lang.String key) { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 8; + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfig_ != null; @@ -733,6 +795,8 @@ public boolean hasLoggingConfig() { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 8; + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1beta2.LoggingConfig getLoggingConfig() { return loggingConfig_ == null @@ -1102,13 +1166,13 @@ private void maybeForceBuilderInitialization() { public Builder clear() { super.clear(); args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); fileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); internalGetMutableProperties().clear(); if (loggingConfigBuilder_ == null) { loggingConfig_ = null; @@ -1146,31 +1210,30 @@ public com.google.cloud.dataproc.v1beta2.HadoopJob buildPartial() { com.google.cloud.dataproc.v1beta2.HadoopJob result = new com.google.cloud.dataproc.v1beta2.HadoopJob(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (driverCase_ == 1) { result.driver_ = driver_; } if (driverCase_ == 2) { result.driver_ = driver_; } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } result.args_ = args_; - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); } result.jarFileUris_ = jarFileUris_; - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { fileUris_ = fileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); } result.fileUris_ = fileUris_; - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { archiveUris_ = archiveUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); } result.archiveUris_ = archiveUris_; result.properties_ = internalGetProperties(); @@ -1180,7 +1243,6 @@ public com.google.cloud.dataproc.v1beta2.HadoopJob buildPartial() { } else { result.loggingConfig_ = loggingConfigBuilder_.build(); } - result.bitField0_ = to_bitField0_; result.driverCase_ = driverCase_; onBuilt(); return result; @@ -1234,7 +1296,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.HadoopJob other) { if (!other.args_.isEmpty()) { if (args_.isEmpty()) { args_ = other.args_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureArgsIsMutable(); args_.addAll(other.args_); @@ -1244,7 +1306,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.HadoopJob other) { if (!other.jarFileUris_.isEmpty()) { if (jarFileUris_.isEmpty()) { jarFileUris_ = other.jarFileUris_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureJarFileUrisIsMutable(); jarFileUris_.addAll(other.jarFileUris_); @@ -1254,7 +1316,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.HadoopJob other) { if (!other.fileUris_.isEmpty()) { if (fileUris_.isEmpty()) { fileUris_ = other.fileUris_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureFileUrisIsMutable(); fileUris_.addAll(other.fileUris_); @@ -1264,7 +1326,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.HadoopJob other) { if (!other.archiveUris_.isEmpty()) { if (archiveUris_.isEmpty()) { archiveUris_ = other.archiveUris_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); } else { ensureArchiveUrisIsMutable(); archiveUris_.addAll(other.archiveUris_); @@ -1352,6 +1414,8 @@ public Builder clearDriver() { * * * string main_jar_file_uri = 1; + * + * @return The mainJarFileUri. */ public java.lang.String getMainJarFileUri() { java.lang.Object ref = ""; @@ -1381,6 +1445,8 @@ public java.lang.String getMainJarFileUri() { * * * string main_jar_file_uri = 1; + * + * @return The bytes for mainJarFileUri. */ public com.google.protobuf.ByteString getMainJarFileUriBytes() { java.lang.Object ref = ""; @@ -1410,6 +1476,9 @@ public com.google.protobuf.ByteString getMainJarFileUriBytes() { * * * string main_jar_file_uri = 1; + * + * @param value The mainJarFileUri to set. + * @return This builder for chaining. */ public Builder setMainJarFileUri(java.lang.String value) { if (value == null) { @@ -1432,6 +1501,8 @@ public Builder setMainJarFileUri(java.lang.String value) { * * * string main_jar_file_uri = 1; + * + * @return This builder for chaining. */ public Builder clearMainJarFileUri() { if (driverCase_ == 1) { @@ -1453,6 +1524,9 @@ public Builder clearMainJarFileUri() { * * * string main_jar_file_uri = 1; + * + * @param value The bytes for mainJarFileUri to set. + * @return This builder for chaining. */ public Builder setMainJarFileUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1474,6 +1548,8 @@ public Builder setMainJarFileUriBytes(com.google.protobuf.ByteString value) { * * * string main_class = 2; + * + * @return The mainClass. */ public java.lang.String getMainClass() { java.lang.Object ref = ""; @@ -1500,6 +1576,8 @@ public java.lang.String getMainClass() { * * * string main_class = 2; + * + * @return The bytes for mainClass. */ public com.google.protobuf.ByteString getMainClassBytes() { java.lang.Object ref = ""; @@ -1526,6 +1604,9 @@ public com.google.protobuf.ByteString getMainClassBytes() { * * * string main_class = 2; + * + * @param value The mainClass to set. + * @return This builder for chaining. */ public Builder setMainClass(java.lang.String value) { if (value == null) { @@ -1545,6 +1626,8 @@ public Builder setMainClass(java.lang.String value) { * * * string main_class = 2; + * + * @return This builder for chaining. */ public Builder clearMainClass() { if (driverCase_ == 2) { @@ -1563,6 +1646,9 @@ public Builder clearMainClass() { * * * string main_class = 2; + * + * @param value The bytes for mainClass to set. + * @return This builder for chaining. */ public Builder setMainClassBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1579,9 +1665,9 @@ public Builder setMainClassBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArgsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(args_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000001; } } /** @@ -1595,6 +1681,8 @@ private void ensureArgsIsMutable() { * * * repeated string args = 3; + * + * @return A list containing the args. */ public com.google.protobuf.ProtocolStringList getArgsList() { return args_.getUnmodifiableView(); @@ -1610,6 +1698,8 @@ public com.google.protobuf.ProtocolStringList getArgsList() { * * * repeated string args = 3; + * + * @return The count of args. */ public int getArgsCount() { return args_.size(); @@ -1625,6 +1715,9 @@ public int getArgsCount() { * * * repeated string args = 3; + * + * @param index The index of the element to return. + * @return The args at the given index. */ public java.lang.String getArgs(int index) { return args_.get(index); @@ -1640,6 +1733,9 @@ public java.lang.String getArgs(int index) { * * * repeated string args = 3; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); @@ -1655,6 +1751,10 @@ public com.google.protobuf.ByteString getArgsBytes(int index) { * * * repeated string args = 3; + * + * @param index The index to set the value at. + * @param value The args to set. + * @return This builder for chaining. */ public Builder setArgs(int index, java.lang.String value) { if (value == null) { @@ -1676,6 +1776,9 @@ public Builder setArgs(int index, java.lang.String value) { * * * repeated string args = 3; + * + * @param value The args to add. + * @return This builder for chaining. */ public Builder addArgs(java.lang.String value) { if (value == null) { @@ -1697,6 +1800,9 @@ public Builder addArgs(java.lang.String value) { * * * repeated string args = 3; + * + * @param values The args to add. + * @return This builder for chaining. */ public Builder addAllArgs(java.lang.Iterable values) { ensureArgsIsMutable(); @@ -1715,10 +1821,12 @@ public Builder addAllArgs(java.lang.Iterable values) { * * * repeated string args = 3; + * + * @return This builder for chaining. */ public Builder clearArgs() { args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1733,6 +1841,9 @@ public Builder clearArgs() { * * * repeated string args = 3; + * + * @param value The bytes of the args to add. + * @return This builder for chaining. */ public Builder addArgsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1749,9 +1860,9 @@ public Builder addArgsBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureJarFileUrisIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { jarFileUris_ = new com.google.protobuf.LazyStringArrayList(jarFileUris_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000002; } } /** @@ -1763,6 +1874,8 @@ private void ensureJarFileUrisIsMutable() { * * * repeated string jar_file_uris = 4; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_.getUnmodifiableView(); @@ -1776,6 +1889,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 4; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -1789,6 +1904,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 4; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -1802,6 +1920,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 4; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -1815,6 +1936,10 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * repeated string jar_file_uris = 4; + * + * @param index The index to set the value at. + * @param value The jarFileUris to set. + * @return This builder for chaining. */ public Builder setJarFileUris(int index, java.lang.String value) { if (value == null) { @@ -1834,6 +1959,9 @@ public Builder setJarFileUris(int index, java.lang.String value) { * * * repeated string jar_file_uris = 4; + * + * @param value The jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUris(java.lang.String value) { if (value == null) { @@ -1853,6 +1981,9 @@ public Builder addJarFileUris(java.lang.String value) { * * * repeated string jar_file_uris = 4; + * + * @param values The jarFileUris to add. + * @return This builder for chaining. */ public Builder addAllJarFileUris(java.lang.Iterable values) { ensureJarFileUrisIsMutable(); @@ -1869,10 +2000,12 @@ public Builder addAllJarFileUris(java.lang.Iterable values) { * * * repeated string jar_file_uris = 4; + * + * @return This builder for chaining. */ public Builder clearJarFileUris() { jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -1885,6 +2018,9 @@ public Builder clearJarFileUris() { * * * repeated string jar_file_uris = 4; + * + * @param value The bytes of the jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1901,9 +2037,9 @@ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFileUrisIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { + if (!((bitField0_ & 0x00000004) != 0)) { fileUris_ = new com.google.protobuf.LazyStringArrayList(fileUris_); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000004; } } /** @@ -1916,6 +2052,8 @@ private void ensureFileUrisIsMutable() { * * * repeated string file_uris = 5; + * + * @return A list containing the fileUris. */ public com.google.protobuf.ProtocolStringList getFileUrisList() { return fileUris_.getUnmodifiableView(); @@ -1930,6 +2068,8 @@ public com.google.protobuf.ProtocolStringList getFileUrisList() { * * * repeated string file_uris = 5; + * + * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); @@ -1944,6 +2084,9 @@ public int getFileUrisCount() { * * * repeated string file_uris = 5; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ public java.lang.String getFileUris(int index) { return fileUris_.get(index); @@ -1958,6 +2101,9 @@ public java.lang.String getFileUris(int index) { * * * repeated string file_uris = 5; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ public com.google.protobuf.ByteString getFileUrisBytes(int index) { return fileUris_.getByteString(index); @@ -1972,6 +2118,10 @@ public com.google.protobuf.ByteString getFileUrisBytes(int index) { * * * repeated string file_uris = 5; + * + * @param index The index to set the value at. + * @param value The fileUris to set. + * @return This builder for chaining. */ public Builder setFileUris(int index, java.lang.String value) { if (value == null) { @@ -1992,6 +2142,9 @@ public Builder setFileUris(int index, java.lang.String value) { * * * repeated string file_uris = 5; + * + * @param value The fileUris to add. + * @return This builder for chaining. */ public Builder addFileUris(java.lang.String value) { if (value == null) { @@ -2012,6 +2165,9 @@ public Builder addFileUris(java.lang.String value) { * * * repeated string file_uris = 5; + * + * @param values The fileUris to add. + * @return This builder for chaining. */ public Builder addAllFileUris(java.lang.Iterable values) { ensureFileUrisIsMutable(); @@ -2029,10 +2185,12 @@ public Builder addAllFileUris(java.lang.Iterable values) { * * * repeated string file_uris = 5; + * + * @return This builder for chaining. */ public Builder clearFileUris() { fileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -2046,6 +2204,9 @@ public Builder clearFileUris() { * * * repeated string file_uris = 5; + * + * @param value The bytes of the fileUris to add. + * @return This builder for chaining. */ public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2062,9 +2223,9 @@ public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArchiveUrisIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { + if (!((bitField0_ & 0x00000008) != 0)) { archiveUris_ = new com.google.protobuf.LazyStringArrayList(archiveUris_); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000008; } } /** @@ -2077,6 +2238,8 @@ private void ensureArchiveUrisIsMutable() { * * * repeated string archive_uris = 6; + * + * @return A list containing the archiveUris. */ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { return archiveUris_.getUnmodifiableView(); @@ -2091,6 +2254,8 @@ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { * * * repeated string archive_uris = 6; + * + * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); @@ -2105,6 +2270,9 @@ public int getArchiveUrisCount() { * * * repeated string archive_uris = 6; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); @@ -2119,6 +2287,9 @@ public java.lang.String getArchiveUris(int index) { * * * repeated string archive_uris = 6; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); @@ -2133,6 +2304,10 @@ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { * * * repeated string archive_uris = 6; + * + * @param index The index to set the value at. + * @param value The archiveUris to set. + * @return This builder for chaining. */ public Builder setArchiveUris(int index, java.lang.String value) { if (value == null) { @@ -2153,6 +2328,9 @@ public Builder setArchiveUris(int index, java.lang.String value) { * * * repeated string archive_uris = 6; + * + * @param value The archiveUris to add. + * @return This builder for chaining. */ public Builder addArchiveUris(java.lang.String value) { if (value == null) { @@ -2173,6 +2351,9 @@ public Builder addArchiveUris(java.lang.String value) { * * * repeated string archive_uris = 6; + * + * @param values The archiveUris to add. + * @return This builder for chaining. */ public Builder addAllArchiveUris(java.lang.Iterable values) { ensureArchiveUrisIsMutable(); @@ -2190,10 +2371,12 @@ public Builder addAllArchiveUris(java.lang.Iterable values) { * * * repeated string archive_uris = 6; + * + * @return This builder for chaining. */ public Builder clearArchiveUris() { archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -2207,6 +2390,9 @@ public Builder clearArchiveUris() { * * * repeated string archive_uris = 6; + * + * @param value The bytes of the archiveUris to add. + * @return This builder for chaining. */ public Builder addArchiveUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2409,6 +2595,8 @@ public Builder putAllProperties(java.util.Map * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 8; + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; @@ -2421,6 +2609,8 @@ public boolean hasLoggingConfig() { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 8; + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1beta2.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HadoopJobOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HadoopJobOrBuilder.java index 6bccf656..3a73ede0 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HadoopJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HadoopJobOrBuilder.java @@ -35,6 +35,8 @@ public interface HadoopJobOrBuilder * * * string main_jar_file_uri = 1; + * + * @return The mainJarFileUri. */ java.lang.String getMainJarFileUri(); /** @@ -49,6 +51,8 @@ public interface HadoopJobOrBuilder * * * string main_jar_file_uri = 1; + * + * @return The bytes for mainJarFileUri. */ com.google.protobuf.ByteString getMainJarFileUriBytes(); @@ -61,6 +65,8 @@ public interface HadoopJobOrBuilder * * * string main_class = 2; + * + * @return The mainClass. */ java.lang.String getMainClass(); /** @@ -72,6 +78,8 @@ public interface HadoopJobOrBuilder * * * string main_class = 2; + * + * @return The bytes for mainClass. */ com.google.protobuf.ByteString getMainClassBytes(); @@ -86,6 +94,8 @@ public interface HadoopJobOrBuilder * * * repeated string args = 3; + * + * @return A list containing the args. */ java.util.List getArgsList(); /** @@ -99,6 +109,8 @@ public interface HadoopJobOrBuilder * * * repeated string args = 3; + * + * @return The count of args. */ int getArgsCount(); /** @@ -112,6 +124,9 @@ public interface HadoopJobOrBuilder * * * repeated string args = 3; + * + * @param index The index of the element to return. + * @return The args at the given index. */ java.lang.String getArgs(int index); /** @@ -125,6 +140,9 @@ public interface HadoopJobOrBuilder * * * repeated string args = 3; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ com.google.protobuf.ByteString getArgsBytes(int index); @@ -137,6 +155,8 @@ public interface HadoopJobOrBuilder * * * repeated string jar_file_uris = 4; + * + * @return A list containing the jarFileUris. */ java.util.List getJarFileUrisList(); /** @@ -148,6 +168,8 @@ public interface HadoopJobOrBuilder * * * repeated string jar_file_uris = 4; + * + * @return The count of jarFileUris. */ int getJarFileUrisCount(); /** @@ -159,6 +181,9 @@ public interface HadoopJobOrBuilder * * * repeated string jar_file_uris = 4; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ java.lang.String getJarFileUris(int index); /** @@ -170,6 +195,9 @@ public interface HadoopJobOrBuilder * * * repeated string jar_file_uris = 4; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ com.google.protobuf.ByteString getJarFileUrisBytes(int index); @@ -183,6 +211,8 @@ public interface HadoopJobOrBuilder * * * repeated string file_uris = 5; + * + * @return A list containing the fileUris. */ java.util.List getFileUrisList(); /** @@ -195,6 +225,8 @@ public interface HadoopJobOrBuilder * * * repeated string file_uris = 5; + * + * @return The count of fileUris. */ int getFileUrisCount(); /** @@ -207,6 +239,9 @@ public interface HadoopJobOrBuilder * * * repeated string file_uris = 5; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ java.lang.String getFileUris(int index); /** @@ -219,6 +254,9 @@ public interface HadoopJobOrBuilder * * * repeated string file_uris = 5; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ com.google.protobuf.ByteString getFileUrisBytes(int index); @@ -232,6 +270,8 @@ public interface HadoopJobOrBuilder * * * repeated string archive_uris = 6; + * + * @return A list containing the archiveUris. */ java.util.List getArchiveUrisList(); /** @@ -244,6 +284,8 @@ public interface HadoopJobOrBuilder * * * repeated string archive_uris = 6; + * + * @return The count of archiveUris. */ int getArchiveUrisCount(); /** @@ -256,6 +298,9 @@ public interface HadoopJobOrBuilder * * * repeated string archive_uris = 6; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ java.lang.String getArchiveUris(int index); /** @@ -268,6 +313,9 @@ public interface HadoopJobOrBuilder * * * repeated string archive_uris = 6; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ com.google.protobuf.ByteString getArchiveUrisBytes(int index); @@ -348,6 +396,8 @@ public interface HadoopJobOrBuilder * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 8; + * + * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** @@ -358,6 +408,8 @@ public interface HadoopJobOrBuilder * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 8; + * + * @return The loggingConfig. */ com.google.cloud.dataproc.v1beta2.LoggingConfig getLoggingConfig(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HiveJob.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HiveJob.java index 268b9ca7..1a0a6fe3 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HiveJob.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HiveJob.java @@ -42,6 +42,12 @@ private HiveJob() { jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new HiveJob(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -96,11 +102,11 @@ private HiveJob( } case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { scriptVariables_ = com.google.protobuf.MapField.newMapField( ScriptVariablesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry scriptVariables__ = input.readMessage( @@ -113,11 +119,11 @@ private HiveJob( } case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry properties__ = input.readMessage( @@ -129,9 +135,9 @@ private HiveJob( case 50: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { jarFileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000004; } jarFileUris_.add(s); break; @@ -150,7 +156,7 @@ private HiveJob( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000020) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -186,11 +192,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1beta2.HiveJob.Builder.class); } - private int bitField0_; private int queriesCase_ = 0; private java.lang.Object queries_; - public enum QueriesCase implements com.google.protobuf.Internal.EnumLite { + public enum QueriesCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { QUERY_FILE_URI(1), QUERY_LIST(2), QUERIES_NOT_SET(0); @@ -199,7 +207,11 @@ public enum QueriesCase implements com.google.protobuf.Internal.EnumLite { private QueriesCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static QueriesCase valueOf(int value) { return forNumber(value); @@ -236,6 +248,8 @@ public QueriesCase getQueriesCase() { * * * string query_file_uri = 1; + * + * @return The queryFileUri. */ public java.lang.String getQueryFileUri() { java.lang.Object ref = ""; @@ -261,6 +275,8 @@ public java.lang.String getQueryFileUri() { * * * string query_file_uri = 1; + * + * @return The bytes for queryFileUri. */ public com.google.protobuf.ByteString getQueryFileUriBytes() { java.lang.Object ref = ""; @@ -288,6 +304,8 @@ public com.google.protobuf.ByteString getQueryFileUriBytes() { * * * .google.cloud.dataproc.v1beta2.QueryList query_list = 2; + * + * @return Whether the queryList field is set. */ public boolean hasQueryList() { return queriesCase_ == 2; @@ -300,6 +318,8 @@ public boolean hasQueryList() { * * * .google.cloud.dataproc.v1beta2.QueryList query_list = 2; + * + * @return The queryList. */ public com.google.cloud.dataproc.v1beta2.QueryList getQueryList() { if (queriesCase_ == 2) { @@ -335,6 +355,8 @@ public com.google.cloud.dataproc.v1beta2.QueryListOrBuilder getQueryListOrBuilde * * * bool continue_on_failure = 3; + * + * @return The continueOnFailure. */ public boolean getContinueOnFailure() { return continueOnFailure_; @@ -558,6 +580,8 @@ public java.lang.String getPropertiesOrThrow(java.lang.String key) { * * * repeated string jar_file_uris = 6; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_; @@ -572,6 +596,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 6; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -586,6 +612,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 6; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -600,6 +629,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 6; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -926,7 +958,7 @@ public Builder clear() { internalGetMutableScriptVariables().clear(); internalGetMutableProperties().clear(); jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000004); queriesCase_ = 0; queries_ = null; return this; @@ -957,7 +989,6 @@ public com.google.cloud.dataproc.v1beta2.HiveJob buildPartial() { com.google.cloud.dataproc.v1beta2.HiveJob result = new com.google.cloud.dataproc.v1beta2.HiveJob(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (queriesCase_ == 1) { result.queries_ = queries_; } @@ -973,12 +1004,11 @@ public com.google.cloud.dataproc.v1beta2.HiveJob buildPartial() { result.scriptVariables_.makeImmutable(); result.properties_ = internalGetProperties(); result.properties_.makeImmutable(); - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000004); } result.jarFileUris_ = jarFileUris_; - result.bitField0_ = to_bitField0_; result.queriesCase_ = queriesCase_; onBuilt(); return result; @@ -1037,7 +1067,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.HiveJob other) { if (!other.jarFileUris_.isEmpty()) { if (jarFileUris_.isEmpty()) { jarFileUris_ = other.jarFileUris_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureJarFileUrisIsMutable(); jarFileUris_.addAll(other.jarFileUris_); @@ -1115,6 +1145,8 @@ public Builder clearQueries() { * * * string query_file_uri = 1; + * + * @return The queryFileUri. */ public java.lang.String getQueryFileUri() { java.lang.Object ref = ""; @@ -1140,6 +1172,8 @@ public java.lang.String getQueryFileUri() { * * * string query_file_uri = 1; + * + * @return The bytes for queryFileUri. */ public com.google.protobuf.ByteString getQueryFileUriBytes() { java.lang.Object ref = ""; @@ -1165,6 +1199,9 @@ public com.google.protobuf.ByteString getQueryFileUriBytes() { * * * string query_file_uri = 1; + * + * @param value The queryFileUri to set. + * @return This builder for chaining. */ public Builder setQueryFileUri(java.lang.String value) { if (value == null) { @@ -1183,6 +1220,8 @@ public Builder setQueryFileUri(java.lang.String value) { * * * string query_file_uri = 1; + * + * @return This builder for chaining. */ public Builder clearQueryFileUri() { if (queriesCase_ == 1) { @@ -1200,6 +1239,9 @@ public Builder clearQueryFileUri() { * * * string query_file_uri = 1; + * + * @param value The bytes for queryFileUri to set. + * @return This builder for chaining. */ public Builder setQueryFileUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1225,6 +1267,8 @@ public Builder setQueryFileUriBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dataproc.v1beta2.QueryList query_list = 2; + * + * @return Whether the queryList field is set. */ public boolean hasQueryList() { return queriesCase_ == 2; @@ -1237,6 +1281,8 @@ public boolean hasQueryList() { * * * .google.cloud.dataproc.v1beta2.QueryList query_list = 2; + * + * @return The queryList. */ public com.google.cloud.dataproc.v1beta2.QueryList getQueryList() { if (queryListBuilder_ == null) { @@ -1425,6 +1471,8 @@ public com.google.cloud.dataproc.v1beta2.QueryListOrBuilder getQueryListOrBuilde * * * bool continue_on_failure = 3; + * + * @return The continueOnFailure. */ public boolean getContinueOnFailure() { return continueOnFailure_; @@ -1439,6 +1487,9 @@ public boolean getContinueOnFailure() { * * * bool continue_on_failure = 3; + * + * @param value The continueOnFailure to set. + * @return This builder for chaining. */ public Builder setContinueOnFailure(boolean value) { @@ -1456,6 +1507,8 @@ public Builder setContinueOnFailure(boolean value) { * * * bool continue_on_failure = 3; + * + * @return This builder for chaining. */ public Builder clearContinueOnFailure() { @@ -1807,9 +1860,9 @@ public Builder putAllProperties(java.util.Map * * repeated string jar_file_uris = 6; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_.getUnmodifiableView(); @@ -1836,6 +1891,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 6; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -1850,6 +1907,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 6; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -1864,6 +1924,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 6; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -1878,6 +1941,10 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * repeated string jar_file_uris = 6; + * + * @param index The index to set the value at. + * @param value The jarFileUris to set. + * @return This builder for chaining. */ public Builder setJarFileUris(int index, java.lang.String value) { if (value == null) { @@ -1898,6 +1965,9 @@ public Builder setJarFileUris(int index, java.lang.String value) { * * * repeated string jar_file_uris = 6; + * + * @param value The jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUris(java.lang.String value) { if (value == null) { @@ -1918,6 +1988,9 @@ public Builder addJarFileUris(java.lang.String value) { * * * repeated string jar_file_uris = 6; + * + * @param values The jarFileUris to add. + * @return This builder for chaining. */ public Builder addAllJarFileUris(java.lang.Iterable values) { ensureJarFileUrisIsMutable(); @@ -1935,10 +2008,12 @@ public Builder addAllJarFileUris(java.lang.Iterable values) { * * * repeated string jar_file_uris = 6; + * + * @return This builder for chaining. */ public Builder clearJarFileUris() { jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -1952,6 +2027,9 @@ public Builder clearJarFileUris() { * * * repeated string jar_file_uris = 6; + * + * @param value The bytes of the jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HiveJobOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HiveJobOrBuilder.java index 0dcec8a0..a5de77cd 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HiveJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HiveJobOrBuilder.java @@ -31,6 +31,8 @@ public interface HiveJobOrBuilder * * * string query_file_uri = 1; + * + * @return The queryFileUri. */ java.lang.String getQueryFileUri(); /** @@ -41,6 +43,8 @@ public interface HiveJobOrBuilder * * * string query_file_uri = 1; + * + * @return The bytes for queryFileUri. */ com.google.protobuf.ByteString getQueryFileUriBytes(); @@ -52,6 +56,8 @@ public interface HiveJobOrBuilder * * * .google.cloud.dataproc.v1beta2.QueryList query_list = 2; + * + * @return Whether the queryList field is set. */ boolean hasQueryList(); /** @@ -62,6 +68,8 @@ public interface HiveJobOrBuilder * * * .google.cloud.dataproc.v1beta2.QueryList query_list = 2; + * + * @return The queryList. */ com.google.cloud.dataproc.v1beta2.QueryList getQueryList(); /** @@ -85,6 +93,8 @@ public interface HiveJobOrBuilder * * * bool continue_on_failure = 3; + * + * @return The continueOnFailure. */ boolean getContinueOnFailure(); @@ -226,6 +236,8 @@ public interface HiveJobOrBuilder * * * repeated string jar_file_uris = 6; + * + * @return A list containing the jarFileUris. */ java.util.List getJarFileUrisList(); /** @@ -238,6 +250,8 @@ public interface HiveJobOrBuilder * * * repeated string jar_file_uris = 6; + * + * @return The count of jarFileUris. */ int getJarFileUrisCount(); /** @@ -250,6 +264,9 @@ public interface HiveJobOrBuilder * * * repeated string jar_file_uris = 6; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ java.lang.String getJarFileUris(int index); /** @@ -262,6 +279,9 @@ public interface HiveJobOrBuilder * * * repeated string jar_file_uris = 6; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ com.google.protobuf.ByteString getJarFileUrisBytes(int index); diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstanceGroupAutoscalingPolicyConfig.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstanceGroupAutoscalingPolicyConfig.java index 19d92a68..38707c98 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstanceGroupAutoscalingPolicyConfig.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstanceGroupAutoscalingPolicyConfig.java @@ -42,6 +42,12 @@ private InstanceGroupAutoscalingPolicyConfig( private InstanceGroupAutoscalingPolicyConfig() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InstanceGroupAutoscalingPolicyConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private InstanceGroupAutoscalingPolicyConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -127,6 +132,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * int32 min_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minInstances. */ public int getMinInstances() { return minInstances_; @@ -146,6 +153,8 @@ public int getMinInstances() { * * * int32 max_instances = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxInstances. */ public int getMaxInstances() { return maxInstances_; @@ -176,6 +185,8 @@ public int getMaxInstances() { * * * int32 weight = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The weight. */ public int getWeight() { return weight_; @@ -550,6 +561,8 @@ public Builder mergeFrom( * * * int32 min_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minInstances. */ public int getMinInstances() { return minInstances_; @@ -564,6 +577,9 @@ public int getMinInstances() { * * * int32 min_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The minInstances to set. + * @return This builder for chaining. */ public Builder setMinInstances(int value) { @@ -581,6 +597,8 @@ public Builder setMinInstances(int value) { * * * int32 min_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearMinInstances() { @@ -602,6 +620,8 @@ public Builder clearMinInstances() { * * * int32 max_instances = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxInstances. */ public int getMaxInstances() { return maxInstances_; @@ -618,6 +638,9 @@ public int getMaxInstances() { * * * int32 max_instances = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The maxInstances to set. + * @return This builder for chaining. */ public Builder setMaxInstances(int value) { @@ -637,6 +660,8 @@ public Builder setMaxInstances(int value) { * * * int32 max_instances = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearMaxInstances() { @@ -669,6 +694,8 @@ public Builder clearMaxInstances() { * * * int32 weight = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The weight. */ public int getWeight() { return weight_; @@ -696,6 +723,9 @@ public int getWeight() { * * * int32 weight = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The weight to set. + * @return This builder for chaining. */ public Builder setWeight(int value) { @@ -726,6 +756,8 @@ public Builder setWeight(int value) { * * * int32 weight = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearWeight() { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstanceGroupAutoscalingPolicyConfigOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstanceGroupAutoscalingPolicyConfigOrBuilder.java index 7192b770..788a76bd 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstanceGroupAutoscalingPolicyConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstanceGroupAutoscalingPolicyConfigOrBuilder.java @@ -33,6 +33,8 @@ public interface InstanceGroupAutoscalingPolicyConfigOrBuilder * * * int32 min_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minInstances. */ int getMinInstances(); @@ -48,6 +50,8 @@ public interface InstanceGroupAutoscalingPolicyConfigOrBuilder * * * int32 max_instances = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxInstances. */ int getMaxInstances(); @@ -74,6 +78,8 @@ public interface InstanceGroupAutoscalingPolicyConfigOrBuilder * * * int32 weight = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The weight. */ int getWeight(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstanceGroupConfig.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstanceGroupConfig.java index b0be0bb6..8a697201 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstanceGroupConfig.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstanceGroupConfig.java @@ -46,6 +46,12 @@ private InstanceGroupConfig() { minCpuPlatform_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InstanceGroupConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -78,9 +84,9 @@ private InstanceGroupConfig( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { instanceNames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } instanceNames_.add(s); break; @@ -139,10 +145,10 @@ private InstanceGroupConfig( } case 66: { - if (!((mutable_bitField0_ & 0x00000080) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { accelerators_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000080; + mutable_bitField0_ |= 0x00000002; } accelerators_.add( input.readMessage( @@ -171,10 +177,10 @@ private InstanceGroupConfig( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { instanceNames_ = instanceNames_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000080) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { accelerators_ = java.util.Collections.unmodifiableList(accelerators_); } this.unknownFields = unknownFields.build(); @@ -197,7 +203,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dataproc.v1beta2.InstanceGroupConfig.Builder.class); } - private int bitField0_; public static final int NUM_INSTANCES_FIELD_NUMBER = 1; private int numInstances_; /** @@ -209,6 +214,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * int32 num_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The numInstances. */ public int getNumInstances() { return numInstances_; @@ -225,6 +232,8 @@ public int getNumInstances() { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the instanceNames. */ public com.google.protobuf.ProtocolStringList getInstanceNamesList() { return instanceNames_; @@ -238,6 +247,8 @@ public com.google.protobuf.ProtocolStringList getInstanceNamesList() { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of instanceNames. */ public int getInstanceNamesCount() { return instanceNames_.size(); @@ -251,6 +262,9 @@ public int getInstanceNamesCount() { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The instanceNames at the given index. */ public java.lang.String getInstanceNames(int index) { return instanceNames_.get(index); @@ -264,6 +278,9 @@ public java.lang.String getInstanceNames(int index) { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the instanceNames at the given index. */ public com.google.protobuf.ByteString getInstanceNamesBytes(int index) { return instanceNames_.getByteString(index); @@ -281,6 +298,8 @@ public com.google.protobuf.ByteString getInstanceNamesBytes(int index) { * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; @@ -303,6 +322,8 @@ public java.lang.String getImageUri() { * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for imageUri. */ public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; @@ -335,6 +356,8 @@ public com.google.protobuf.ByteString getImageUriBytes() { * * * string machine_type_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The machineTypeUri. */ public java.lang.String getMachineTypeUri() { java.lang.Object ref = machineTypeUri_; @@ -364,6 +387,8 @@ public java.lang.String getMachineTypeUri() { * * * string machine_type_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for machineTypeUri. */ public com.google.protobuf.ByteString getMachineTypeUriBytes() { java.lang.Object ref = machineTypeUri_; @@ -389,6 +414,8 @@ public com.google.protobuf.ByteString getMachineTypeUriBytes() { * * .google.cloud.dataproc.v1beta2.DiskConfig disk_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the diskConfig field is set. */ public boolean hasDiskConfig() { return diskConfig_ != null; @@ -403,6 +430,8 @@ public boolean hasDiskConfig() { * * .google.cloud.dataproc.v1beta2.DiskConfig disk_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The diskConfig. */ public com.google.cloud.dataproc.v1beta2.DiskConfig getDiskConfig() { return diskConfig_ == null @@ -435,6 +464,8 @@ public com.google.cloud.dataproc.v1beta2.DiskConfigOrBuilder getDiskConfigOrBuil * * * bool is_preemptible = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The isPreemptible. */ public boolean getIsPreemptible() { return isPreemptible_; @@ -454,6 +485,8 @@ public boolean getIsPreemptible() { * * .google.cloud.dataproc.v1beta2.ManagedGroupConfig managed_group_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the managedGroupConfig field is set. */ public boolean hasManagedGroupConfig() { return managedGroupConfig_ != null; @@ -470,6 +503,8 @@ public boolean hasManagedGroupConfig() { * * .google.cloud.dataproc.v1beta2.ManagedGroupConfig managed_group_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The managedGroupConfig. */ public com.google.cloud.dataproc.v1beta2.ManagedGroupConfig getManagedGroupConfig() { return managedGroupConfig_ == null @@ -586,6 +621,8 @@ public com.google.cloud.dataproc.v1beta2.AcceleratorConfigOrBuilder getAccelerat * * * string min_cpu_platform = 9; + * + * @return The minCpuPlatform. */ public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; @@ -608,6 +645,8 @@ public java.lang.String getMinCpuPlatform() { * * * string min_cpu_platform = 9; + * + * @return The bytes for minCpuPlatform. */ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; @@ -923,7 +962,7 @@ public Builder clear() { numInstances_ = 0; instanceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); imageUri_ = ""; machineTypeUri_ = ""; @@ -944,7 +983,7 @@ public Builder clear() { } if (acceleratorsBuilder_ == null) { accelerators_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); } else { acceleratorsBuilder_.clear(); } @@ -978,11 +1017,10 @@ public com.google.cloud.dataproc.v1beta2.InstanceGroupConfig buildPartial() { com.google.cloud.dataproc.v1beta2.InstanceGroupConfig result = new com.google.cloud.dataproc.v1beta2.InstanceGroupConfig(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.numInstances_ = numInstances_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { instanceNames_ = instanceNames_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.instanceNames_ = instanceNames_; result.imageUri_ = imageUri_; @@ -999,16 +1037,15 @@ public com.google.cloud.dataproc.v1beta2.InstanceGroupConfig buildPartial() { result.managedGroupConfig_ = managedGroupConfigBuilder_.build(); } if (acceleratorsBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { accelerators_ = java.util.Collections.unmodifiableList(accelerators_); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); } result.accelerators_ = accelerators_; } else { result.accelerators_ = acceleratorsBuilder_.build(); } result.minCpuPlatform_ = minCpuPlatform_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1065,7 +1102,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.InstanceGroupConfig o if (!other.instanceNames_.isEmpty()) { if (instanceNames_.isEmpty()) { instanceNames_ = other.instanceNames_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureInstanceNamesIsMutable(); instanceNames_.addAll(other.instanceNames_); @@ -1093,7 +1130,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.InstanceGroupConfig o if (!other.accelerators_.isEmpty()) { if (accelerators_.isEmpty()) { accelerators_ = other.accelerators_; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureAcceleratorsIsMutable(); accelerators_.addAll(other.accelerators_); @@ -1106,7 +1143,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.InstanceGroupConfig o acceleratorsBuilder_.dispose(); acceleratorsBuilder_ = null; accelerators_ = other.accelerators_; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); acceleratorsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAcceleratorsFieldBuilder() @@ -1162,6 +1199,8 @@ public Builder mergeFrom( * * * int32 num_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The numInstances. */ public int getNumInstances() { return numInstances_; @@ -1175,6 +1214,9 @@ public int getNumInstances() { * * * int32 num_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The numInstances to set. + * @return This builder for chaining. */ public Builder setNumInstances(int value) { @@ -1191,6 +1233,8 @@ public Builder setNumInstances(int value) { * * * int32 num_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearNumInstances() { @@ -1203,9 +1247,9 @@ public Builder clearNumInstances() { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInstanceNamesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { instanceNames_ = new com.google.protobuf.LazyStringArrayList(instanceNames_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** @@ -1217,6 +1261,8 @@ private void ensureInstanceNamesIsMutable() { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the instanceNames. */ public com.google.protobuf.ProtocolStringList getInstanceNamesList() { return instanceNames_.getUnmodifiableView(); @@ -1230,6 +1276,8 @@ public com.google.protobuf.ProtocolStringList getInstanceNamesList() { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of instanceNames. */ public int getInstanceNamesCount() { return instanceNames_.size(); @@ -1243,6 +1291,9 @@ public int getInstanceNamesCount() { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The instanceNames at the given index. */ public java.lang.String getInstanceNames(int index) { return instanceNames_.get(index); @@ -1256,6 +1307,9 @@ public java.lang.String getInstanceNames(int index) { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the instanceNames at the given index. */ public com.google.protobuf.ByteString getInstanceNamesBytes(int index) { return instanceNames_.getByteString(index); @@ -1269,6 +1323,10 @@ public com.google.protobuf.ByteString getInstanceNamesBytes(int index) { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index to set the value at. + * @param value The instanceNames to set. + * @return This builder for chaining. */ public Builder setInstanceNames(int index, java.lang.String value) { if (value == null) { @@ -1288,6 +1346,9 @@ public Builder setInstanceNames(int index, java.lang.String value) { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The instanceNames to add. + * @return This builder for chaining. */ public Builder addInstanceNames(java.lang.String value) { if (value == null) { @@ -1307,6 +1368,9 @@ public Builder addInstanceNames(java.lang.String value) { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param values The instanceNames to add. + * @return This builder for chaining. */ public Builder addAllInstanceNames(java.lang.Iterable values) { ensureInstanceNamesIsMutable(); @@ -1323,10 +1387,12 @@ public Builder addAllInstanceNames(java.lang.Iterable values) * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearInstanceNames() { instanceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1339,6 +1405,9 @@ public Builder clearInstanceNames() { * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes of the instanceNames to add. + * @return This builder for chaining. */ public Builder addInstanceNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1362,6 +1431,8 @@ public Builder addInstanceNamesBytes(com.google.protobuf.ByteString value) { * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; @@ -1384,6 +1455,8 @@ public java.lang.String getImageUri() { * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for imageUri. */ public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; @@ -1406,6 +1479,9 @@ public com.google.protobuf.ByteString getImageUriBytes() { * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The imageUri to set. + * @return This builder for chaining. */ public Builder setImageUri(java.lang.String value) { if (value == null) { @@ -1426,6 +1502,8 @@ public Builder setImageUri(java.lang.String value) { * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearImageUri() { @@ -1443,6 +1521,9 @@ public Builder clearImageUri() { * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for imageUri to set. + * @return This builder for chaining. */ public Builder setImageUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1473,6 +1554,8 @@ public Builder setImageUriBytes(com.google.protobuf.ByteString value) { * * * string machine_type_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The machineTypeUri. */ public java.lang.String getMachineTypeUri() { java.lang.Object ref = machineTypeUri_; @@ -1502,6 +1585,8 @@ public java.lang.String getMachineTypeUri() { * * * string machine_type_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for machineTypeUri. */ public com.google.protobuf.ByteString getMachineTypeUriBytes() { java.lang.Object ref = machineTypeUri_; @@ -1531,6 +1616,9 @@ public com.google.protobuf.ByteString getMachineTypeUriBytes() { * * * string machine_type_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The machineTypeUri to set. + * @return This builder for chaining. */ public Builder setMachineTypeUri(java.lang.String value) { if (value == null) { @@ -1558,6 +1646,8 @@ public Builder setMachineTypeUri(java.lang.String value) { * * * string machine_type_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearMachineTypeUri() { @@ -1582,6 +1672,9 @@ public Builder clearMachineTypeUri() { * * * string machine_type_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for machineTypeUri to set. + * @return This builder for chaining. */ public Builder setMachineTypeUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1610,6 +1703,8 @@ public Builder setMachineTypeUriBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1beta2.DiskConfig disk_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the diskConfig field is set. */ public boolean hasDiskConfig() { return diskConfigBuilder_ != null || diskConfig_ != null; @@ -1624,6 +1719,8 @@ public boolean hasDiskConfig() { * * .google.cloud.dataproc.v1beta2.DiskConfig disk_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The diskConfig. */ public com.google.cloud.dataproc.v1beta2.DiskConfig getDiskConfig() { if (diskConfigBuilder_ == null) { @@ -1804,6 +1901,8 @@ public com.google.cloud.dataproc.v1beta2.DiskConfigOrBuilder getDiskConfigOrBuil * * * bool is_preemptible = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The isPreemptible. */ public boolean getIsPreemptible() { return isPreemptible_; @@ -1817,6 +1916,9 @@ public boolean getIsPreemptible() { * * * bool is_preemptible = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The isPreemptible to set. + * @return This builder for chaining. */ public Builder setIsPreemptible(boolean value) { @@ -1833,6 +1935,8 @@ public Builder setIsPreemptible(boolean value) { * * * bool is_preemptible = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearIsPreemptible() { @@ -1859,6 +1963,8 @@ public Builder clearIsPreemptible() { * * .google.cloud.dataproc.v1beta2.ManagedGroupConfig managed_group_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the managedGroupConfig field is set. */ public boolean hasManagedGroupConfig() { return managedGroupConfigBuilder_ != null || managedGroupConfig_ != null; @@ -1875,6 +1981,8 @@ public boolean hasManagedGroupConfig() { * * .google.cloud.dataproc.v1beta2.ManagedGroupConfig managed_group_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The managedGroupConfig. */ public com.google.cloud.dataproc.v1beta2.ManagedGroupConfig getManagedGroupConfig() { if (managedGroupConfigBuilder_ == null) { @@ -2067,11 +2175,11 @@ public Builder clearManagedGroupConfig() { java.util.Collections.emptyList(); private void ensureAcceleratorsIsMutable() { - if (!((bitField0_ & 0x00000080) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { accelerators_ = new java.util.ArrayList( accelerators_); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000002; } } @@ -2323,7 +2431,7 @@ public Builder addAllAccelerators( public Builder clearAccelerators() { if (acceleratorsBuilder_ == null) { accelerators_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { acceleratorsBuilder_.clear(); @@ -2470,7 +2578,7 @@ public com.google.cloud.dataproc.v1beta2.AcceleratorConfig.Builder addAccelerato com.google.cloud.dataproc.v1beta2.AcceleratorConfig, com.google.cloud.dataproc.v1beta2.AcceleratorConfig.Builder, com.google.cloud.dataproc.v1beta2.AcceleratorConfigOrBuilder>( - accelerators_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); + accelerators_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); accelerators_ = null; } return acceleratorsBuilder_; @@ -2487,6 +2595,8 @@ public com.google.cloud.dataproc.v1beta2.AcceleratorConfig.Builder addAccelerato * * * string min_cpu_platform = 9; + * + * @return The minCpuPlatform. */ public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; @@ -2509,6 +2619,8 @@ public java.lang.String getMinCpuPlatform() { * * * string min_cpu_platform = 9; + * + * @return The bytes for minCpuPlatform. */ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; @@ -2531,6 +2643,9 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { * * * string min_cpu_platform = 9; + * + * @param value The minCpuPlatform to set. + * @return This builder for chaining. */ public Builder setMinCpuPlatform(java.lang.String value) { if (value == null) { @@ -2551,6 +2666,8 @@ public Builder setMinCpuPlatform(java.lang.String value) { * * * string min_cpu_platform = 9; + * + * @return This builder for chaining. */ public Builder clearMinCpuPlatform() { @@ -2568,6 +2685,9 @@ public Builder clearMinCpuPlatform() { * * * string min_cpu_platform = 9; + * + * @param value The bytes for minCpuPlatform to set. + * @return This builder for chaining. */ public Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstanceGroupConfigOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstanceGroupConfigOrBuilder.java index 9537691c..5c0ebc36 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstanceGroupConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstanceGroupConfigOrBuilder.java @@ -32,6 +32,8 @@ public interface InstanceGroupConfigOrBuilder * * * int32 num_instances = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The numInstances. */ int getNumInstances(); @@ -44,6 +46,8 @@ public interface InstanceGroupConfigOrBuilder * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the instanceNames. */ java.util.List getInstanceNamesList(); /** @@ -55,6 +59,8 @@ public interface InstanceGroupConfigOrBuilder * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of instanceNames. */ int getInstanceNamesCount(); /** @@ -66,6 +72,9 @@ public interface InstanceGroupConfigOrBuilder * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The instanceNames at the given index. */ java.lang.String getInstanceNames(int index); /** @@ -77,6 +86,9 @@ public interface InstanceGroupConfigOrBuilder * * * repeated string instance_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the instanceNames at the given index. */ com.google.protobuf.ByteString getInstanceNamesBytes(int index); @@ -90,6 +102,8 @@ public interface InstanceGroupConfigOrBuilder * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The imageUri. */ java.lang.String getImageUri(); /** @@ -102,6 +116,8 @@ public interface InstanceGroupConfigOrBuilder * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for imageUri. */ com.google.protobuf.ByteString getImageUriBytes(); @@ -122,6 +138,8 @@ public interface InstanceGroupConfigOrBuilder * * * string machine_type_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The machineTypeUri. */ java.lang.String getMachineTypeUri(); /** @@ -141,6 +159,8 @@ public interface InstanceGroupConfigOrBuilder * * * string machine_type_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for machineTypeUri. */ com.google.protobuf.ByteString getMachineTypeUriBytes(); @@ -154,6 +174,8 @@ public interface InstanceGroupConfigOrBuilder * * .google.cloud.dataproc.v1beta2.DiskConfig disk_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the diskConfig field is set. */ boolean hasDiskConfig(); /** @@ -166,6 +188,8 @@ public interface InstanceGroupConfigOrBuilder * * .google.cloud.dataproc.v1beta2.DiskConfig disk_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The diskConfig. */ com.google.cloud.dataproc.v1beta2.DiskConfig getDiskConfig(); /** @@ -190,6 +214,8 @@ public interface InstanceGroupConfigOrBuilder * * * bool is_preemptible = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The isPreemptible. */ boolean getIsPreemptible(); @@ -205,6 +231,8 @@ public interface InstanceGroupConfigOrBuilder * * .google.cloud.dataproc.v1beta2.ManagedGroupConfig managed_group_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the managedGroupConfig field is set. */ boolean hasManagedGroupConfig(); /** @@ -219,6 +247,8 @@ public interface InstanceGroupConfigOrBuilder * * .google.cloud.dataproc.v1beta2.ManagedGroupConfig managed_group_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The managedGroupConfig. */ com.google.cloud.dataproc.v1beta2.ManagedGroupConfig getManagedGroupConfig(); /** @@ -313,6 +343,8 @@ public interface InstanceGroupConfigOrBuilder * * * string min_cpu_platform = 9; + * + * @return The minCpuPlatform. */ java.lang.String getMinCpuPlatform(); /** @@ -325,6 +357,8 @@ public interface InstanceGroupConfigOrBuilder * * * string min_cpu_platform = 9; + * + * @return The bytes for minCpuPlatform. */ com.google.protobuf.ByteString getMinCpuPlatformBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstantiateInlineWorkflowTemplateRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstantiateInlineWorkflowTemplateRequest.java index 0e779adc..96023350 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstantiateInlineWorkflowTemplateRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstantiateInlineWorkflowTemplateRequest.java @@ -45,6 +45,12 @@ private InstantiateInlineWorkflowTemplateRequest() { requestId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InstantiateInlineWorkflowTemplateRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -58,7 +64,6 @@ private InstantiateInlineWorkflowTemplateRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -161,6 +166,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -190,6 +197,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -215,6 +224,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * .google.cloud.dataproc.v1beta2.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the template field is set. */ public boolean hasTemplate() { return template_ != null; @@ -229,6 +240,8 @@ public boolean hasTemplate() { * * .google.cloud.dataproc.v1beta2.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The template. */ public com.google.cloud.dataproc.v1beta2.WorkflowTemplate getTemplate() { return template_ == null @@ -260,6 +273,8 @@ public com.google.cloud.dataproc.v1beta2.WorkflowTemplateOrBuilder getTemplateOr * * * string instance_id = 3; + * + * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; @@ -280,6 +295,8 @@ public java.lang.String getInstanceId() { * * * string instance_id = 3; + * + * @return The bytes for instanceId. */ public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; @@ -309,6 +326,8 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { * * * string request_id = 4; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -335,6 +354,8 @@ public java.lang.String getRequestId() { * * * string request_id = 4; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -764,6 +785,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -793,6 +816,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -822,6 +847,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -849,6 +877,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -873,6 +903,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -901,6 +934,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1beta2.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the template field is set. */ public boolean hasTemplate() { return templateBuilder_ != null || template_ != null; @@ -915,6 +950,8 @@ public boolean hasTemplate() { * * .google.cloud.dataproc.v1beta2.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The template. */ public com.google.cloud.dataproc.v1beta2.WorkflowTemplate getTemplate() { if (templateBuilder_ == null) { @@ -1094,6 +1131,8 @@ public com.google.cloud.dataproc.v1beta2.WorkflowTemplateOrBuilder getTemplateOr * * * string instance_id = 3; + * + * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; @@ -1114,6 +1153,8 @@ public java.lang.String getInstanceId() { * * * string instance_id = 3; + * + * @return The bytes for instanceId. */ public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; @@ -1134,6 +1175,9 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { * * * string instance_id = 3; + * + * @param value The instanceId to set. + * @return This builder for chaining. */ public Builder setInstanceId(java.lang.String value) { if (value == null) { @@ -1152,6 +1196,8 @@ public Builder setInstanceId(java.lang.String value) { * * * string instance_id = 3; + * + * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -1167,6 +1213,9 @@ public Builder clearInstanceId() { * * * string instance_id = 3; + * + * @param value The bytes for instanceId to set. + * @return This builder for chaining. */ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1194,6 +1243,8 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { * * * string request_id = 4; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -1220,6 +1271,8 @@ public java.lang.String getRequestId() { * * * string request_id = 4; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -1246,6 +1299,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * * * string request_id = 4; + * + * @param value The requestId to set. + * @return This builder for chaining. */ public Builder setRequestId(java.lang.String value) { if (value == null) { @@ -1270,6 +1326,8 @@ public Builder setRequestId(java.lang.String value) { * * * string request_id = 4; + * + * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1291,6 +1349,9 @@ public Builder clearRequestId() { * * * string request_id = 4; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. */ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstantiateInlineWorkflowTemplateRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstantiateInlineWorkflowTemplateRequestOrBuilder.java index d6bf7951..583ef2eb 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstantiateInlineWorkflowTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstantiateInlineWorkflowTemplateRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface InstantiateInlineWorkflowTemplateRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -59,6 +61,8 @@ public interface InstantiateInlineWorkflowTemplateRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -72,6 +76,8 @@ public interface InstantiateInlineWorkflowTemplateRequestOrBuilder * * .google.cloud.dataproc.v1beta2.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the template field is set. */ boolean hasTemplate(); /** @@ -84,6 +90,8 @@ public interface InstantiateInlineWorkflowTemplateRequestOrBuilder * * .google.cloud.dataproc.v1beta2.WorkflowTemplate template = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The template. */ com.google.cloud.dataproc.v1beta2.WorkflowTemplate getTemplate(); /** @@ -107,6 +115,8 @@ public interface InstantiateInlineWorkflowTemplateRequestOrBuilder * * * string instance_id = 3; + * + * @return The instanceId. */ java.lang.String getInstanceId(); /** @@ -117,6 +127,8 @@ public interface InstantiateInlineWorkflowTemplateRequestOrBuilder * * * string instance_id = 3; + * + * @return The bytes for instanceId. */ com.google.protobuf.ByteString getInstanceIdBytes(); @@ -134,6 +146,8 @@ public interface InstantiateInlineWorkflowTemplateRequestOrBuilder * * * string request_id = 4; + * + * @return The requestId. */ java.lang.String getRequestId(); /** @@ -150,6 +164,8 @@ public interface InstantiateInlineWorkflowTemplateRequestOrBuilder * * * string request_id = 4; + * + * @return The bytes for requestId. */ com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstantiateWorkflowTemplateRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstantiateWorkflowTemplateRequest.java index ea37609c..555bff68 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstantiateWorkflowTemplateRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstantiateWorkflowTemplateRequest.java @@ -44,6 +44,12 @@ private InstantiateWorkflowTemplateRequest() { requestId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InstantiateWorkflowTemplateRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -89,11 +95,11 @@ private InstantiateWorkflowTemplateRequest( } case 34: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { parameters_ = com.google.protobuf.MapField.newMapField( ParametersDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry parameters__ = input.readMessage( @@ -154,7 +160,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1beta2.InstantiateWorkflowTemplateRequest.Builder.class); } - private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** @@ -174,6 +179,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -203,6 +210,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -230,6 +239,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * int32 version = 2; + * + * @return The version. */ public int getVersion() { return version_; @@ -245,6 +256,8 @@ public int getVersion() { * * * string instance_id = 3 [deprecated = true]; + * + * @return The instanceId. */ @java.lang.Deprecated public java.lang.String getInstanceId() { @@ -266,6 +279,8 @@ public java.lang.String getInstanceId() { * * * string instance_id = 3 [deprecated = true]; + * + * @return The bytes for instanceId. */ @java.lang.Deprecated public com.google.protobuf.ByteString getInstanceIdBytes() { @@ -296,6 +311,8 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { * * * string request_id = 5; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -322,6 +339,8 @@ public java.lang.String getRequestId() { * * * string request_id = 5; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -743,14 +762,12 @@ public com.google.cloud.dataproc.v1beta2.InstantiateWorkflowTemplateRequest buil com.google.cloud.dataproc.v1beta2.InstantiateWorkflowTemplateRequest result = new com.google.cloud.dataproc.v1beta2.InstantiateWorkflowTemplateRequest(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.name_ = name_; result.version_ = version_; result.instanceId_ = instanceId_; result.requestId_ = requestId_; result.parameters_ = internalGetParameters(); result.parameters_.makeImmutable(); - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -871,6 +888,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -900,6 +919,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -929,6 +950,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -956,6 +980,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -980,6 +1006,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1005,6 +1034,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * int32 version = 2; + * + * @return The version. */ public int getVersion() { return version_; @@ -1021,6 +1052,9 @@ public int getVersion() { * * * int32 version = 2; + * + * @param value The version to set. + * @return This builder for chaining. */ public Builder setVersion(int value) { @@ -1040,6 +1074,8 @@ public Builder setVersion(int value) { * * * int32 version = 2; + * + * @return This builder for chaining. */ public Builder clearVersion() { @@ -1057,6 +1093,8 @@ public Builder clearVersion() { * * * string instance_id = 3 [deprecated = true]; + * + * @return The instanceId. */ @java.lang.Deprecated public java.lang.String getInstanceId() { @@ -1078,6 +1116,8 @@ public java.lang.String getInstanceId() { * * * string instance_id = 3 [deprecated = true]; + * + * @return The bytes for instanceId. */ @java.lang.Deprecated public com.google.protobuf.ByteString getInstanceIdBytes() { @@ -1099,6 +1139,9 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { * * * string instance_id = 3 [deprecated = true]; + * + * @param value The instanceId to set. + * @return This builder for chaining. */ @java.lang.Deprecated public Builder setInstanceId(java.lang.String value) { @@ -1118,6 +1161,8 @@ public Builder setInstanceId(java.lang.String value) { * * * string instance_id = 3 [deprecated = true]; + * + * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearInstanceId() { @@ -1134,6 +1179,9 @@ public Builder clearInstanceId() { * * * string instance_id = 3 [deprecated = true]; + * + * @param value The bytes for instanceId to set. + * @return This builder for chaining. */ @java.lang.Deprecated public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { @@ -1162,6 +1210,8 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { * * * string request_id = 5; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -1188,6 +1238,8 @@ public java.lang.String getRequestId() { * * * string request_id = 5; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -1214,6 +1266,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * * * string request_id = 5; + * + * @param value The requestId to set. + * @return This builder for chaining. */ public Builder setRequestId(java.lang.String value) { if (value == null) { @@ -1238,6 +1293,8 @@ public Builder setRequestId(java.lang.String value) { * * * string request_id = 5; + * + * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1259,6 +1316,9 @@ public Builder clearRequestId() { * * * string request_id = 5; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. */ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstantiateWorkflowTemplateRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstantiateWorkflowTemplateRequestOrBuilder.java index cad36f8c..bb01f895 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstantiateWorkflowTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/InstantiateWorkflowTemplateRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface InstantiateWorkflowTemplateRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -59,6 +61,8 @@ public interface InstantiateWorkflowTemplateRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -74,6 +78,8 @@ public interface InstantiateWorkflowTemplateRequestOrBuilder * * * int32 version = 2; + * + * @return The version. */ int getVersion(); @@ -85,6 +91,8 @@ public interface InstantiateWorkflowTemplateRequestOrBuilder * * * string instance_id = 3 [deprecated = true]; + * + * @return The instanceId. */ @java.lang.Deprecated java.lang.String getInstanceId(); @@ -96,6 +104,8 @@ public interface InstantiateWorkflowTemplateRequestOrBuilder * * * string instance_id = 3 [deprecated = true]; + * + * @return The bytes for instanceId. */ @java.lang.Deprecated com.google.protobuf.ByteString getInstanceIdBytes(); @@ -114,6 +124,8 @@ public interface InstantiateWorkflowTemplateRequestOrBuilder * * * string request_id = 5; + * + * @return The requestId. */ java.lang.String getRequestId(); /** @@ -130,6 +142,8 @@ public interface InstantiateWorkflowTemplateRequestOrBuilder * * * string request_id = 5; + * + * @return The bytes for requestId. */ com.google.protobuf.ByteString getRequestIdBytes(); diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/Job.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/Job.java index 90da9e5e..b95065cf 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/Job.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/Job.java @@ -46,6 +46,12 @@ private Job() { jobUuid_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Job(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -200,10 +206,10 @@ private Job( } case 74: { - if (!((mutable_bitField0_ & 0x00000800) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { yarnApplications_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000800; + mutable_bitField0_ |= 0x00000002; } yarnApplications_.add( input.readMessage( @@ -236,10 +242,10 @@ private Job( } case 106: { - if (!((mutable_bitField0_ & 0x00000400) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { statusHistory_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000400; + mutable_bitField0_ |= 0x00000001; } statusHistory_.add( input.readMessage( @@ -262,10 +268,10 @@ private Job( } case 146: { - if (!((mutable_bitField0_ & 0x00008000) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00008000; + mutable_bitField0_ |= 0x00000004; } com.google.protobuf.MapEntry labels__ = input.readMessage( @@ -326,10 +332,10 @@ private Job( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000800) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { yarnApplications_ = java.util.Collections.unmodifiableList(yarnApplications_); } - if (((mutable_bitField0_ & 0x00000400) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { statusHistory_ = java.util.Collections.unmodifiableList(statusHistory_); } this.unknownFields = unknownFields.build(); @@ -363,11 +369,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1beta2.Job.Builder.class); } - private int bitField0_; private int typeJobCase_ = 0; private java.lang.Object typeJob_; - public enum TypeJobCase implements com.google.protobuf.Internal.EnumLite { + public enum TypeJobCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { HADOOP_JOB(3), SPARK_JOB(4), PYSPARK_JOB(5), @@ -381,7 +389,11 @@ public enum TypeJobCase implements com.google.protobuf.Internal.EnumLite { private TypeJobCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static TypeJobCase valueOf(int value) { return forNumber(value); @@ -432,6 +444,8 @@ public TypeJobCase getTypeJobCase() { * * * .google.cloud.dataproc.v1beta2.JobReference reference = 1; + * + * @return Whether the reference field is set. */ public boolean hasReference() { return reference_ != null; @@ -447,6 +461,8 @@ public boolean hasReference() { * * * .google.cloud.dataproc.v1beta2.JobReference reference = 1; + * + * @return The reference. */ public com.google.cloud.dataproc.v1beta2.JobReference getReference() { return reference_ == null @@ -482,6 +498,8 @@ public com.google.cloud.dataproc.v1beta2.JobReferenceOrBuilder getReferenceOrBui * * .google.cloud.dataproc.v1beta2.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the placement field is set. */ public boolean hasPlacement() { return placement_ != null; @@ -497,6 +515,8 @@ public boolean hasPlacement() { * * .google.cloud.dataproc.v1beta2.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The placement. */ public com.google.cloud.dataproc.v1beta2.JobPlacement getPlacement() { return placement_ == null @@ -528,6 +548,8 @@ public com.google.cloud.dataproc.v1beta2.JobPlacementOrBuilder getPlacementOrBui * * * .google.cloud.dataproc.v1beta2.HadoopJob hadoop_job = 3; + * + * @return Whether the hadoopJob field is set. */ public boolean hasHadoopJob() { return typeJobCase_ == 3; @@ -540,6 +562,8 @@ public boolean hasHadoopJob() { * * * .google.cloud.dataproc.v1beta2.HadoopJob hadoop_job = 3; + * + * @return The hadoopJob. */ public com.google.cloud.dataproc.v1beta2.HadoopJob getHadoopJob() { if (typeJobCase_ == 3) { @@ -572,6 +596,8 @@ public com.google.cloud.dataproc.v1beta2.HadoopJobOrBuilder getHadoopJobOrBuilde * * * .google.cloud.dataproc.v1beta2.SparkJob spark_job = 4; + * + * @return Whether the sparkJob field is set. */ public boolean hasSparkJob() { return typeJobCase_ == 4; @@ -584,6 +610,8 @@ public boolean hasSparkJob() { * * * .google.cloud.dataproc.v1beta2.SparkJob spark_job = 4; + * + * @return The sparkJob. */ public com.google.cloud.dataproc.v1beta2.SparkJob getSparkJob() { if (typeJobCase_ == 4) { @@ -616,6 +644,8 @@ public com.google.cloud.dataproc.v1beta2.SparkJobOrBuilder getSparkJobOrBuilder( * * * .google.cloud.dataproc.v1beta2.PySparkJob pyspark_job = 5; + * + * @return Whether the pysparkJob field is set. */ public boolean hasPysparkJob() { return typeJobCase_ == 5; @@ -628,6 +658,8 @@ public boolean hasPysparkJob() { * * * .google.cloud.dataproc.v1beta2.PySparkJob pyspark_job = 5; + * + * @return The pysparkJob. */ public com.google.cloud.dataproc.v1beta2.PySparkJob getPysparkJob() { if (typeJobCase_ == 5) { @@ -660,6 +692,8 @@ public com.google.cloud.dataproc.v1beta2.PySparkJobOrBuilder getPysparkJobOrBuil * * * .google.cloud.dataproc.v1beta2.HiveJob hive_job = 6; + * + * @return Whether the hiveJob field is set. */ public boolean hasHiveJob() { return typeJobCase_ == 6; @@ -672,6 +706,8 @@ public boolean hasHiveJob() { * * * .google.cloud.dataproc.v1beta2.HiveJob hive_job = 6; + * + * @return The hiveJob. */ public com.google.cloud.dataproc.v1beta2.HiveJob getHiveJob() { if (typeJobCase_ == 6) { @@ -704,6 +740,8 @@ public com.google.cloud.dataproc.v1beta2.HiveJobOrBuilder getHiveJobOrBuilder() * * * .google.cloud.dataproc.v1beta2.PigJob pig_job = 7; + * + * @return Whether the pigJob field is set. */ public boolean hasPigJob() { return typeJobCase_ == 7; @@ -716,6 +754,8 @@ public boolean hasPigJob() { * * * .google.cloud.dataproc.v1beta2.PigJob pig_job = 7; + * + * @return The pigJob. */ public com.google.cloud.dataproc.v1beta2.PigJob getPigJob() { if (typeJobCase_ == 7) { @@ -748,6 +788,8 @@ public com.google.cloud.dataproc.v1beta2.PigJobOrBuilder getPigJobOrBuilder() { * * * .google.cloud.dataproc.v1beta2.SparkRJob spark_r_job = 21; + * + * @return Whether the sparkRJob field is set. */ public boolean hasSparkRJob() { return typeJobCase_ == 21; @@ -760,6 +802,8 @@ public boolean hasSparkRJob() { * * * .google.cloud.dataproc.v1beta2.SparkRJob spark_r_job = 21; + * + * @return The sparkRJob. */ public com.google.cloud.dataproc.v1beta2.SparkRJob getSparkRJob() { if (typeJobCase_ == 21) { @@ -792,6 +836,8 @@ public com.google.cloud.dataproc.v1beta2.SparkRJobOrBuilder getSparkRJobOrBuilde * * * .google.cloud.dataproc.v1beta2.SparkSqlJob spark_sql_job = 12; + * + * @return Whether the sparkSqlJob field is set. */ public boolean hasSparkSqlJob() { return typeJobCase_ == 12; @@ -804,6 +850,8 @@ public boolean hasSparkSqlJob() { * * * .google.cloud.dataproc.v1beta2.SparkSqlJob spark_sql_job = 12; + * + * @return The sparkSqlJob. */ public com.google.cloud.dataproc.v1beta2.SparkSqlJob getSparkSqlJob() { if (typeJobCase_ == 12) { @@ -839,6 +887,8 @@ public com.google.cloud.dataproc.v1beta2.SparkSqlJobOrBuilder getSparkSqlJobOrBu * * * .google.cloud.dataproc.v1beta2.JobStatus status = 8; + * + * @return Whether the status field is set. */ public boolean hasStatus() { return status_ != null; @@ -853,6 +903,8 @@ public boolean hasStatus() { * * * .google.cloud.dataproc.v1beta2.JobStatus status = 8; + * + * @return The status. */ public com.google.cloud.dataproc.v1beta2.JobStatus getStatus() { return status_ == null @@ -1025,6 +1077,8 @@ public com.google.cloud.dataproc.v1beta2.YarnApplicationOrBuilder getYarnApplica * * * string submitted_by = 10; + * + * @return The submittedBy. */ public java.lang.String getSubmittedBy() { java.lang.Object ref = submittedBy_; @@ -1046,6 +1100,8 @@ public java.lang.String getSubmittedBy() { * * * string submitted_by = 10; + * + * @return The bytes for submittedBy. */ public com.google.protobuf.ByteString getSubmittedByBytes() { java.lang.Object ref = submittedBy_; @@ -1070,6 +1126,8 @@ public com.google.protobuf.ByteString getSubmittedByBytes() { * * * string driver_output_resource_uri = 17; + * + * @return The driverOutputResourceUri. */ public java.lang.String getDriverOutputResourceUri() { java.lang.Object ref = driverOutputResourceUri_; @@ -1091,6 +1149,8 @@ public java.lang.String getDriverOutputResourceUri() { * * * string driver_output_resource_uri = 17; + * + * @return The bytes for driverOutputResourceUri. */ public com.google.protobuf.ByteString getDriverOutputResourceUriBytes() { java.lang.Object ref = driverOutputResourceUri_; @@ -1116,6 +1176,8 @@ public com.google.protobuf.ByteString getDriverOutputResourceUriBytes() { * * * string driver_control_files_uri = 15; + * + * @return The driverControlFilesUri. */ public java.lang.String getDriverControlFilesUri() { java.lang.Object ref = driverControlFilesUri_; @@ -1138,6 +1200,8 @@ public java.lang.String getDriverControlFilesUri() { * * * string driver_control_files_uri = 15; + * + * @return The bytes for driverControlFilesUri. */ public com.google.protobuf.ByteString getDriverControlFilesUriBytes() { java.lang.Object ref = driverControlFilesUri_; @@ -1278,6 +1342,8 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { * * * .google.cloud.dataproc.v1beta2.JobScheduling scheduling = 20; + * + * @return Whether the scheduling field is set. */ public boolean hasScheduling() { return scheduling_ != null; @@ -1290,6 +1356,8 @@ public boolean hasScheduling() { * * * .google.cloud.dataproc.v1beta2.JobScheduling scheduling = 20; + * + * @return The scheduling. */ public com.google.cloud.dataproc.v1beta2.JobScheduling getScheduling() { return scheduling_ == null @@ -1321,6 +1389,8 @@ public com.google.cloud.dataproc.v1beta2.JobSchedulingOrBuilder getSchedulingOrB * * * string job_uuid = 22; + * + * @return The jobUuid. */ public java.lang.String getJobUuid() { java.lang.Object ref = jobUuid_; @@ -1343,6 +1413,8 @@ public java.lang.String getJobUuid() { * * * string job_uuid = 22; + * + * @return The bytes for jobUuid. */ public com.google.protobuf.ByteString getJobUuidBytes() { java.lang.Object ref = jobUuid_; @@ -1838,13 +1910,13 @@ public Builder clear() { } if (statusHistoryBuilder_ == null) { statusHistory_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000001); } else { statusHistoryBuilder_.clear(); } if (yarnApplicationsBuilder_ == null) { yarnApplications_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00000002); } else { yarnApplicationsBuilder_.clear(); } @@ -1893,7 +1965,6 @@ public com.google.cloud.dataproc.v1beta2.Job buildPartial() { com.google.cloud.dataproc.v1beta2.Job result = new com.google.cloud.dataproc.v1beta2.Job(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (referenceBuilder_ == null) { result.reference_ = reference_; } else { @@ -1959,18 +2030,18 @@ public com.google.cloud.dataproc.v1beta2.Job buildPartial() { result.status_ = statusBuilder_.build(); } if (statusHistoryBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { statusHistory_ = java.util.Collections.unmodifiableList(statusHistory_); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000001); } result.statusHistory_ = statusHistory_; } else { result.statusHistory_ = statusHistoryBuilder_.build(); } if (yarnApplicationsBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { yarnApplications_ = java.util.Collections.unmodifiableList(yarnApplications_); - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00000002); } result.yarnApplications_ = yarnApplications_; } else { @@ -1987,7 +2058,6 @@ public com.google.cloud.dataproc.v1beta2.Job buildPartial() { result.scheduling_ = schedulingBuilder_.build(); } result.jobUuid_ = jobUuid_; - result.bitField0_ = to_bitField0_; result.typeJobCase_ = typeJobCase_; onBuilt(); return result; @@ -2051,7 +2121,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.Job other) { if (!other.statusHistory_.isEmpty()) { if (statusHistory_.isEmpty()) { statusHistory_ = other.statusHistory_; - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStatusHistoryIsMutable(); statusHistory_.addAll(other.statusHistory_); @@ -2064,7 +2134,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.Job other) { statusHistoryBuilder_.dispose(); statusHistoryBuilder_ = null; statusHistory_ = other.statusHistory_; - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000001); statusHistoryBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStatusHistoryFieldBuilder() @@ -2078,7 +2148,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.Job other) { if (!other.yarnApplications_.isEmpty()) { if (yarnApplications_.isEmpty()) { yarnApplications_ = other.yarnApplications_; - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureYarnApplicationsIsMutable(); yarnApplications_.addAll(other.yarnApplications_); @@ -2091,7 +2161,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.Job other) { yarnApplicationsBuilder_.dispose(); yarnApplicationsBuilder_ = null; yarnApplications_ = other.yarnApplications_; - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00000002); yarnApplicationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getYarnApplicationsFieldBuilder() @@ -2224,6 +2294,8 @@ public Builder clearTypeJob() { * * * .google.cloud.dataproc.v1beta2.JobReference reference = 1; + * + * @return Whether the reference field is set. */ public boolean hasReference() { return referenceBuilder_ != null || reference_ != null; @@ -2239,6 +2311,8 @@ public boolean hasReference() { * * * .google.cloud.dataproc.v1beta2.JobReference reference = 1; + * + * @return The reference. */ public com.google.cloud.dataproc.v1beta2.JobReference getReference() { if (referenceBuilder_ == null) { @@ -2433,6 +2507,8 @@ public com.google.cloud.dataproc.v1beta2.JobReferenceOrBuilder getReferenceOrBui * * .google.cloud.dataproc.v1beta2.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the placement field is set. */ public boolean hasPlacement() { return placementBuilder_ != null || placement_ != null; @@ -2448,6 +2524,8 @@ public boolean hasPlacement() { * * .google.cloud.dataproc.v1beta2.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The placement. */ public com.google.cloud.dataproc.v1beta2.JobPlacement getPlacement() { if (placementBuilder_ == null) { @@ -2638,6 +2716,8 @@ public com.google.cloud.dataproc.v1beta2.JobPlacementOrBuilder getPlacementOrBui * * * .google.cloud.dataproc.v1beta2.HadoopJob hadoop_job = 3; + * + * @return Whether the hadoopJob field is set. */ public boolean hasHadoopJob() { return typeJobCase_ == 3; @@ -2650,6 +2730,8 @@ public boolean hasHadoopJob() { * * * .google.cloud.dataproc.v1beta2.HadoopJob hadoop_job = 3; + * + * @return The hadoopJob. */ public com.google.cloud.dataproc.v1beta2.HadoopJob getHadoopJob() { if (hadoopJobBuilder_ == null) { @@ -2840,6 +2922,8 @@ public com.google.cloud.dataproc.v1beta2.HadoopJobOrBuilder getHadoopJobOrBuilde * * * .google.cloud.dataproc.v1beta2.SparkJob spark_job = 4; + * + * @return Whether the sparkJob field is set. */ public boolean hasSparkJob() { return typeJobCase_ == 4; @@ -2852,6 +2936,8 @@ public boolean hasSparkJob() { * * * .google.cloud.dataproc.v1beta2.SparkJob spark_job = 4; + * + * @return The sparkJob. */ public com.google.cloud.dataproc.v1beta2.SparkJob getSparkJob() { if (sparkJobBuilder_ == null) { @@ -3041,6 +3127,8 @@ public com.google.cloud.dataproc.v1beta2.SparkJobOrBuilder getSparkJobOrBuilder( * * * .google.cloud.dataproc.v1beta2.PySparkJob pyspark_job = 5; + * + * @return Whether the pysparkJob field is set. */ public boolean hasPysparkJob() { return typeJobCase_ == 5; @@ -3053,6 +3141,8 @@ public boolean hasPysparkJob() { * * * .google.cloud.dataproc.v1beta2.PySparkJob pyspark_job = 5; + * + * @return The pysparkJob. */ public com.google.cloud.dataproc.v1beta2.PySparkJob getPysparkJob() { if (pysparkJobBuilder_ == null) { @@ -3243,6 +3333,8 @@ public com.google.cloud.dataproc.v1beta2.PySparkJobOrBuilder getPysparkJobOrBuil * * * .google.cloud.dataproc.v1beta2.HiveJob hive_job = 6; + * + * @return Whether the hiveJob field is set. */ public boolean hasHiveJob() { return typeJobCase_ == 6; @@ -3255,6 +3347,8 @@ public boolean hasHiveJob() { * * * .google.cloud.dataproc.v1beta2.HiveJob hive_job = 6; + * + * @return The hiveJob. */ public com.google.cloud.dataproc.v1beta2.HiveJob getHiveJob() { if (hiveJobBuilder_ == null) { @@ -3444,6 +3538,8 @@ public com.google.cloud.dataproc.v1beta2.HiveJobOrBuilder getHiveJobOrBuilder() * * * .google.cloud.dataproc.v1beta2.PigJob pig_job = 7; + * + * @return Whether the pigJob field is set. */ public boolean hasPigJob() { return typeJobCase_ == 7; @@ -3456,6 +3552,8 @@ public boolean hasPigJob() { * * * .google.cloud.dataproc.v1beta2.PigJob pig_job = 7; + * + * @return The pigJob. */ public com.google.cloud.dataproc.v1beta2.PigJob getPigJob() { if (pigJobBuilder_ == null) { @@ -3645,6 +3743,8 @@ public com.google.cloud.dataproc.v1beta2.PigJobOrBuilder getPigJobOrBuilder() { * * * .google.cloud.dataproc.v1beta2.SparkRJob spark_r_job = 21; + * + * @return Whether the sparkRJob field is set. */ public boolean hasSparkRJob() { return typeJobCase_ == 21; @@ -3657,6 +3757,8 @@ public boolean hasSparkRJob() { * * * .google.cloud.dataproc.v1beta2.SparkRJob spark_r_job = 21; + * + * @return The sparkRJob. */ public com.google.cloud.dataproc.v1beta2.SparkRJob getSparkRJob() { if (sparkRJobBuilder_ == null) { @@ -3847,6 +3949,8 @@ public com.google.cloud.dataproc.v1beta2.SparkRJobOrBuilder getSparkRJobOrBuilde * * * .google.cloud.dataproc.v1beta2.SparkSqlJob spark_sql_job = 12; + * + * @return Whether the sparkSqlJob field is set. */ public boolean hasSparkSqlJob() { return typeJobCase_ == 12; @@ -3859,6 +3963,8 @@ public boolean hasSparkSqlJob() { * * * .google.cloud.dataproc.v1beta2.SparkSqlJob spark_sql_job = 12; + * + * @return The sparkSqlJob. */ public com.google.cloud.dataproc.v1beta2.SparkSqlJob getSparkSqlJob() { if (sparkSqlJobBuilder_ == null) { @@ -4052,6 +4158,8 @@ public com.google.cloud.dataproc.v1beta2.SparkSqlJobOrBuilder getSparkSqlJobOrBu * * * .google.cloud.dataproc.v1beta2.JobStatus status = 8; + * + * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; @@ -4066,6 +4174,8 @@ public boolean hasStatus() { * * * .google.cloud.dataproc.v1beta2.JobStatus status = 8; + * + * @return The status. */ public com.google.cloud.dataproc.v1beta2.JobStatus getStatus() { if (statusBuilder_ == null) { @@ -4239,10 +4349,10 @@ public com.google.cloud.dataproc.v1beta2.JobStatusOrBuilder getStatusOrBuilder() java.util.Collections.emptyList(); private void ensureStatusHistoryIsMutable() { - if (!((bitField0_ & 0x00000400) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { statusHistory_ = new java.util.ArrayList(statusHistory_); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000001; } } @@ -4458,7 +4568,7 @@ public Builder addAllStatusHistory( public Builder clearStatusHistory() { if (statusHistoryBuilder_ == null) { statusHistory_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { statusHistoryBuilder_.clear(); @@ -4582,7 +4692,7 @@ public com.google.cloud.dataproc.v1beta2.JobStatus.Builder addStatusHistoryBuild com.google.cloud.dataproc.v1beta2.JobStatus.Builder, com.google.cloud.dataproc.v1beta2.JobStatusOrBuilder>( statusHistory_, - ((bitField0_ & 0x00000400) != 0), + ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); statusHistory_ = null; @@ -4594,11 +4704,11 @@ public com.google.cloud.dataproc.v1beta2.JobStatus.Builder addStatusHistoryBuild java.util.Collections.emptyList(); private void ensureYarnApplicationsIsMutable() { - if (!((bitField0_ & 0x00000800) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { yarnApplications_ = new java.util.ArrayList( yarnApplications_); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00000002; } } @@ -4839,7 +4949,7 @@ public Builder addAllYarnApplications( public Builder clearYarnApplications() { if (yarnApplicationsBuilder_ == null) { yarnApplications_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { yarnApplicationsBuilder_.clear(); @@ -4980,7 +5090,7 @@ public com.google.cloud.dataproc.v1beta2.YarnApplication.Builder addYarnApplicat com.google.cloud.dataproc.v1beta2.YarnApplication.Builder, com.google.cloud.dataproc.v1beta2.YarnApplicationOrBuilder>( yarnApplications_, - ((bitField0_ & 0x00000800) != 0), + ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); yarnApplications_ = null; @@ -4998,6 +5108,8 @@ public com.google.cloud.dataproc.v1beta2.YarnApplication.Builder addYarnApplicat * * * string submitted_by = 10; + * + * @return The submittedBy. */ public java.lang.String getSubmittedBy() { java.lang.Object ref = submittedBy_; @@ -5019,6 +5131,8 @@ public java.lang.String getSubmittedBy() { * * * string submitted_by = 10; + * + * @return The bytes for submittedBy. */ public com.google.protobuf.ByteString getSubmittedByBytes() { java.lang.Object ref = submittedBy_; @@ -5040,6 +5154,9 @@ public com.google.protobuf.ByteString getSubmittedByBytes() { * * * string submitted_by = 10; + * + * @param value The submittedBy to set. + * @return This builder for chaining. */ public Builder setSubmittedBy(java.lang.String value) { if (value == null) { @@ -5059,6 +5176,8 @@ public Builder setSubmittedBy(java.lang.String value) { * * * string submitted_by = 10; + * + * @return This builder for chaining. */ public Builder clearSubmittedBy() { @@ -5075,6 +5194,9 @@ public Builder clearSubmittedBy() { * * * string submitted_by = 10; + * + * @param value The bytes for submittedBy to set. + * @return This builder for chaining. */ public Builder setSubmittedByBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -5097,6 +5219,8 @@ public Builder setSubmittedByBytes(com.google.protobuf.ByteString value) { * * * string driver_output_resource_uri = 17; + * + * @return The driverOutputResourceUri. */ public java.lang.String getDriverOutputResourceUri() { java.lang.Object ref = driverOutputResourceUri_; @@ -5118,6 +5242,8 @@ public java.lang.String getDriverOutputResourceUri() { * * * string driver_output_resource_uri = 17; + * + * @return The bytes for driverOutputResourceUri. */ public com.google.protobuf.ByteString getDriverOutputResourceUriBytes() { java.lang.Object ref = driverOutputResourceUri_; @@ -5139,6 +5265,9 @@ public com.google.protobuf.ByteString getDriverOutputResourceUriBytes() { * * * string driver_output_resource_uri = 17; + * + * @param value The driverOutputResourceUri to set. + * @return This builder for chaining. */ public Builder setDriverOutputResourceUri(java.lang.String value) { if (value == null) { @@ -5158,6 +5287,8 @@ public Builder setDriverOutputResourceUri(java.lang.String value) { * * * string driver_output_resource_uri = 17; + * + * @return This builder for chaining. */ public Builder clearDriverOutputResourceUri() { @@ -5174,6 +5305,9 @@ public Builder clearDriverOutputResourceUri() { * * * string driver_output_resource_uri = 17; + * + * @param value The bytes for driverOutputResourceUri to set. + * @return This builder for chaining. */ public Builder setDriverOutputResourceUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -5197,6 +5331,8 @@ public Builder setDriverOutputResourceUriBytes(com.google.protobuf.ByteString va * * * string driver_control_files_uri = 15; + * + * @return The driverControlFilesUri. */ public java.lang.String getDriverControlFilesUri() { java.lang.Object ref = driverControlFilesUri_; @@ -5219,6 +5355,8 @@ public java.lang.String getDriverControlFilesUri() { * * * string driver_control_files_uri = 15; + * + * @return The bytes for driverControlFilesUri. */ public com.google.protobuf.ByteString getDriverControlFilesUriBytes() { java.lang.Object ref = driverControlFilesUri_; @@ -5241,6 +5379,9 @@ public com.google.protobuf.ByteString getDriverControlFilesUriBytes() { * * * string driver_control_files_uri = 15; + * + * @param value The driverControlFilesUri to set. + * @return This builder for chaining. */ public Builder setDriverControlFilesUri(java.lang.String value) { if (value == null) { @@ -5261,6 +5402,8 @@ public Builder setDriverControlFilesUri(java.lang.String value) { * * * string driver_control_files_uri = 15; + * + * @return This builder for chaining. */ public Builder clearDriverControlFilesUri() { @@ -5278,6 +5421,9 @@ public Builder clearDriverControlFilesUri() { * * * string driver_control_files_uri = 15; + * + * @param value The bytes for driverControlFilesUri to set. + * @return This builder for chaining. */ public Builder setDriverControlFilesUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -5498,6 +5644,8 @@ public Builder putAllLabels(java.util.Map va * * * .google.cloud.dataproc.v1beta2.JobScheduling scheduling = 20; + * + * @return Whether the scheduling field is set. */ public boolean hasScheduling() { return schedulingBuilder_ != null || scheduling_ != null; @@ -5510,6 +5658,8 @@ public boolean hasScheduling() { * * * .google.cloud.dataproc.v1beta2.JobScheduling scheduling = 20; + * + * @return The scheduling. */ public com.google.cloud.dataproc.v1beta2.JobScheduling getScheduling() { if (schedulingBuilder_ == null) { @@ -5677,6 +5827,8 @@ public com.google.cloud.dataproc.v1beta2.JobSchedulingOrBuilder getSchedulingOrB * * * string job_uuid = 22; + * + * @return The jobUuid. */ public java.lang.String getJobUuid() { java.lang.Object ref = jobUuid_; @@ -5699,6 +5851,8 @@ public java.lang.String getJobUuid() { * * * string job_uuid = 22; + * + * @return The bytes for jobUuid. */ public com.google.protobuf.ByteString getJobUuidBytes() { java.lang.Object ref = jobUuid_; @@ -5721,6 +5875,9 @@ public com.google.protobuf.ByteString getJobUuidBytes() { * * * string job_uuid = 22; + * + * @param value The jobUuid to set. + * @return This builder for chaining. */ public Builder setJobUuid(java.lang.String value) { if (value == null) { @@ -5741,6 +5898,8 @@ public Builder setJobUuid(java.lang.String value) { * * * string job_uuid = 22; + * + * @return This builder for chaining. */ public Builder clearJobUuid() { @@ -5758,6 +5917,9 @@ public Builder clearJobUuid() { * * * string job_uuid = 22; + * + * @param value The bytes for jobUuid to set. + * @return This builder for chaining. */ public Builder setJobUuidBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobOrBuilder.java index 3fe2ae26..82f80002 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobOrBuilder.java @@ -34,6 +34,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1beta2.JobReference reference = 1; + * + * @return Whether the reference field is set. */ boolean hasReference(); /** @@ -47,6 +49,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1beta2.JobReference reference = 1; + * + * @return The reference. */ com.google.cloud.dataproc.v1beta2.JobReference getReference(); /** @@ -74,6 +78,8 @@ public interface JobOrBuilder * * .google.cloud.dataproc.v1beta2.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the placement field is set. */ boolean hasPlacement(); /** @@ -87,6 +93,8 @@ public interface JobOrBuilder * * .google.cloud.dataproc.v1beta2.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The placement. */ com.google.cloud.dataproc.v1beta2.JobPlacement getPlacement(); /** @@ -111,6 +119,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1beta2.HadoopJob hadoop_job = 3; + * + * @return Whether the hadoopJob field is set. */ boolean hasHadoopJob(); /** @@ -121,6 +131,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1beta2.HadoopJob hadoop_job = 3; + * + * @return The hadoopJob. */ com.google.cloud.dataproc.v1beta2.HadoopJob getHadoopJob(); /** @@ -142,6 +154,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1beta2.SparkJob spark_job = 4; + * + * @return Whether the sparkJob field is set. */ boolean hasSparkJob(); /** @@ -152,6 +166,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1beta2.SparkJob spark_job = 4; + * + * @return The sparkJob. */ com.google.cloud.dataproc.v1beta2.SparkJob getSparkJob(); /** @@ -173,6 +189,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1beta2.PySparkJob pyspark_job = 5; + * + * @return Whether the pysparkJob field is set. */ boolean hasPysparkJob(); /** @@ -183,6 +201,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1beta2.PySparkJob pyspark_job = 5; + * + * @return The pysparkJob. */ com.google.cloud.dataproc.v1beta2.PySparkJob getPysparkJob(); /** @@ -204,6 +224,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1beta2.HiveJob hive_job = 6; + * + * @return Whether the hiveJob field is set. */ boolean hasHiveJob(); /** @@ -214,6 +236,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1beta2.HiveJob hive_job = 6; + * + * @return The hiveJob. */ com.google.cloud.dataproc.v1beta2.HiveJob getHiveJob(); /** @@ -235,6 +259,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1beta2.PigJob pig_job = 7; + * + * @return Whether the pigJob field is set. */ boolean hasPigJob(); /** @@ -245,6 +271,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1beta2.PigJob pig_job = 7; + * + * @return The pigJob. */ com.google.cloud.dataproc.v1beta2.PigJob getPigJob(); /** @@ -266,6 +294,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1beta2.SparkRJob spark_r_job = 21; + * + * @return Whether the sparkRJob field is set. */ boolean hasSparkRJob(); /** @@ -276,6 +306,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1beta2.SparkRJob spark_r_job = 21; + * + * @return The sparkRJob. */ com.google.cloud.dataproc.v1beta2.SparkRJob getSparkRJob(); /** @@ -297,6 +329,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1beta2.SparkSqlJob spark_sql_job = 12; + * + * @return Whether the sparkSqlJob field is set. */ boolean hasSparkSqlJob(); /** @@ -307,6 +341,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1beta2.SparkSqlJob spark_sql_job = 12; + * + * @return The sparkSqlJob. */ com.google.cloud.dataproc.v1beta2.SparkSqlJob getSparkSqlJob(); /** @@ -330,6 +366,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1beta2.JobStatus status = 8; + * + * @return Whether the status field is set. */ boolean hasStatus(); /** @@ -342,6 +380,8 @@ public interface JobOrBuilder * * * .google.cloud.dataproc.v1beta2.JobStatus status = 8; + * + * @return The status. */ com.google.cloud.dataproc.v1beta2.JobStatus getStatus(); /** @@ -481,6 +521,8 @@ com.google.cloud.dataproc.v1beta2.YarnApplicationOrBuilder getYarnApplicationsOr * * * string submitted_by = 10; + * + * @return The submittedBy. */ java.lang.String getSubmittedBy(); /** @@ -492,6 +534,8 @@ com.google.cloud.dataproc.v1beta2.YarnApplicationOrBuilder getYarnApplicationsOr * * * string submitted_by = 10; + * + * @return The bytes for submittedBy. */ com.google.protobuf.ByteString getSubmittedByBytes(); @@ -504,6 +548,8 @@ com.google.cloud.dataproc.v1beta2.YarnApplicationOrBuilder getYarnApplicationsOr * * * string driver_output_resource_uri = 17; + * + * @return The driverOutputResourceUri. */ java.lang.String getDriverOutputResourceUri(); /** @@ -515,6 +561,8 @@ com.google.cloud.dataproc.v1beta2.YarnApplicationOrBuilder getYarnApplicationsOr * * * string driver_output_resource_uri = 17; + * + * @return The bytes for driverOutputResourceUri. */ com.google.protobuf.ByteString getDriverOutputResourceUriBytes(); @@ -528,6 +576,8 @@ com.google.cloud.dataproc.v1beta2.YarnApplicationOrBuilder getYarnApplicationsOr * * * string driver_control_files_uri = 15; + * + * @return The driverControlFilesUri. */ java.lang.String getDriverControlFilesUri(); /** @@ -540,6 +590,8 @@ com.google.cloud.dataproc.v1beta2.YarnApplicationOrBuilder getYarnApplicationsOr * * * string driver_control_files_uri = 15; + * + * @return The bytes for driverControlFilesUri. */ com.google.protobuf.ByteString getDriverControlFilesUriBytes(); @@ -635,6 +687,8 @@ com.google.cloud.dataproc.v1beta2.YarnApplicationOrBuilder getYarnApplicationsOr * * * .google.cloud.dataproc.v1beta2.JobScheduling scheduling = 20; + * + * @return Whether the scheduling field is set. */ boolean hasScheduling(); /** @@ -645,6 +699,8 @@ com.google.cloud.dataproc.v1beta2.YarnApplicationOrBuilder getYarnApplicationsOr * * * .google.cloud.dataproc.v1beta2.JobScheduling scheduling = 20; + * + * @return The scheduling. */ com.google.cloud.dataproc.v1beta2.JobScheduling getScheduling(); /** @@ -668,6 +724,8 @@ com.google.cloud.dataproc.v1beta2.YarnApplicationOrBuilder getYarnApplicationsOr * * * string job_uuid = 22; + * + * @return The jobUuid. */ java.lang.String getJobUuid(); /** @@ -680,6 +738,8 @@ com.google.cloud.dataproc.v1beta2.YarnApplicationOrBuilder getYarnApplicationsOr * * * string job_uuid = 22; + * + * @return The bytes for jobUuid. */ com.google.protobuf.ByteString getJobUuidBytes(); diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobPlacement.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobPlacement.java index 906e7d5b..bf4d0722 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobPlacement.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobPlacement.java @@ -42,6 +42,12 @@ private JobPlacement() { clusterUuid_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new JobPlacement(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private JobPlacement( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -124,6 +129,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -144,6 +151,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -168,6 +177,8 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_uuid = 2; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -189,6 +200,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 2; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -543,6 +556,8 @@ public Builder mergeFrom( * * * string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -563,6 +578,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -583,6 +600,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -601,6 +621,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -616,6 +638,9 @@ public Builder clearClusterName() { * * * string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -638,6 +663,8 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { * * * string cluster_uuid = 2; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -659,6 +686,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 2; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -680,6 +709,9 @@ public com.google.protobuf.ByteString getClusterUuidBytes() { * * * string cluster_uuid = 2; + * + * @param value The clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuid(java.lang.String value) { if (value == null) { @@ -699,6 +731,8 @@ public Builder setClusterUuid(java.lang.String value) { * * * string cluster_uuid = 2; + * + * @return This builder for chaining. */ public Builder clearClusterUuid() { @@ -715,6 +749,9 @@ public Builder clearClusterUuid() { * * * string cluster_uuid = 2; + * + * @param value The bytes for clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuidBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobPlacementOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobPlacementOrBuilder.java index 4621bd74..59efd979 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobPlacementOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobPlacementOrBuilder.java @@ -31,6 +31,8 @@ public interface JobPlacementOrBuilder * * * string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -41,6 +43,8 @@ public interface JobPlacementOrBuilder * * * string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); @@ -53,6 +57,8 @@ public interface JobPlacementOrBuilder * * * string cluster_uuid = 2; + * + * @return The clusterUuid. */ java.lang.String getClusterUuid(); /** @@ -64,6 +70,8 @@ public interface JobPlacementOrBuilder * * * string cluster_uuid = 2; + * + * @return The bytes for clusterUuid. */ com.google.protobuf.ByteString getClusterUuidBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobReference.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobReference.java index 4a956f91..c0e364e1 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobReference.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobReference.java @@ -42,6 +42,12 @@ private JobReference() { jobId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new JobReference(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private JobReference( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -125,6 +130,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -146,6 +153,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -172,6 +181,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string job_id = 2; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -195,6 +206,8 @@ public java.lang.String getJobId() { * * * string job_id = 2; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -550,6 +563,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -571,6 +586,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -592,6 +609,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -611,6 +631,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -627,6 +649,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -651,6 +676,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string job_id = 2; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -674,6 +701,8 @@ public java.lang.String getJobId() { * * * string job_id = 2; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -697,6 +726,9 @@ public com.google.protobuf.ByteString getJobIdBytes() { * * * string job_id = 2; + * + * @param value The jobId to set. + * @return This builder for chaining. */ public Builder setJobId(java.lang.String value) { if (value == null) { @@ -718,6 +750,8 @@ public Builder setJobId(java.lang.String value) { * * * string job_id = 2; + * + * @return This builder for chaining. */ public Builder clearJobId() { @@ -736,6 +770,9 @@ public Builder clearJobId() { * * * string job_id = 2; + * + * @param value The bytes for jobId to set. + * @return This builder for chaining. */ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobReferenceOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobReferenceOrBuilder.java index 841400cc..860d3a36 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobReferenceOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobReferenceOrBuilder.java @@ -32,6 +32,8 @@ public interface JobReferenceOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface JobReferenceOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -57,6 +61,8 @@ public interface JobReferenceOrBuilder * * * string job_id = 2; + * + * @return The jobId. */ java.lang.String getJobId(); /** @@ -70,6 +76,8 @@ public interface JobReferenceOrBuilder * * * string job_id = 2; + * + * @return The bytes for jobId. */ com.google.protobuf.ByteString getJobIdBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobScheduling.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobScheduling.java index 65ea096c..e82f8319 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobScheduling.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobScheduling.java @@ -39,6 +39,12 @@ private JobScheduling(com.google.protobuf.GeneratedMessageV3.Builder builder) private JobScheduling() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new JobScheduling(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private JobScheduling( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * int32 max_failures_per_hour = 1; + * + * @return The maxFailuresPerHour. */ public int getMaxFailuresPerHour() { return maxFailuresPerHour_; @@ -452,6 +459,8 @@ public Builder mergeFrom( * * * int32 max_failures_per_hour = 1; + * + * @return The maxFailuresPerHour. */ public int getMaxFailuresPerHour() { return maxFailuresPerHour_; @@ -469,6 +478,9 @@ public int getMaxFailuresPerHour() { * * * int32 max_failures_per_hour = 1; + * + * @param value The maxFailuresPerHour to set. + * @return This builder for chaining. */ public Builder setMaxFailuresPerHour(int value) { @@ -489,6 +501,8 @@ public Builder setMaxFailuresPerHour(int value) { * * * int32 max_failures_per_hour = 1; + * + * @return This builder for chaining. */ public Builder clearMaxFailuresPerHour() { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobSchedulingOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobSchedulingOrBuilder.java index 59861e42..ce04f52d 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobSchedulingOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobSchedulingOrBuilder.java @@ -36,6 +36,8 @@ public interface JobSchedulingOrBuilder * * * int32 max_failures_per_hour = 1; + * + * @return The maxFailuresPerHour. */ int getMaxFailuresPerHour(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobStatus.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobStatus.java index 2313462d..d56bbe8b 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobStatus.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobStatus.java @@ -43,6 +43,12 @@ private JobStatus() { substate_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new JobStatus(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private JobStatus( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -367,12 +372,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static State valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static State forNumber(int value) { switch (value) { case 0: @@ -560,12 +573,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static Substate valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static Substate forNumber(int value) { switch (value) { case 0: @@ -635,6 +656,8 @@ private Substate(int value) { * * * .google.cloud.dataproc.v1beta2.JobStatus.State state = 1; + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -647,6 +670,8 @@ public int getStateValue() { * * * .google.cloud.dataproc.v1beta2.JobStatus.State state = 1; + * + * @return The state. */ public com.google.cloud.dataproc.v1beta2.JobStatus.State getState() { @SuppressWarnings("deprecation") @@ -666,6 +691,8 @@ public com.google.cloud.dataproc.v1beta2.JobStatus.State getState() { * * * string details = 2; + * + * @return The details. */ public java.lang.String getDetails() { java.lang.Object ref = details_; @@ -687,6 +714,8 @@ public java.lang.String getDetails() { * * * string details = 2; + * + * @return The bytes for details. */ public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; @@ -710,6 +739,8 @@ public com.google.protobuf.ByteString getDetailsBytes() { * * * .google.protobuf.Timestamp state_start_time = 6; + * + * @return Whether the stateStartTime field is set. */ public boolean hasStateStartTime() { return stateStartTime_ != null; @@ -722,6 +753,8 @@ public boolean hasStateStartTime() { * * * .google.protobuf.Timestamp state_start_time = 6; + * + * @return The stateStartTime. */ public com.google.protobuf.Timestamp getStateStartTime() { return stateStartTime_ == null @@ -752,6 +785,8 @@ public com.google.protobuf.TimestampOrBuilder getStateStartTimeOrBuilder() { * * * .google.cloud.dataproc.v1beta2.JobStatus.Substate substate = 7; + * + * @return The enum numeric value on the wire for substate. */ public int getSubstateValue() { return substate_; @@ -765,6 +800,8 @@ public int getSubstateValue() { * * * .google.cloud.dataproc.v1beta2.JobStatus.Substate substate = 7; + * + * @return The substate. */ public com.google.cloud.dataproc.v1beta2.JobStatus.Substate getSubstate() { @SuppressWarnings("deprecation") @@ -1158,6 +1195,8 @@ public Builder mergeFrom( * * * .google.cloud.dataproc.v1beta2.JobStatus.State state = 1; + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -1170,6 +1209,9 @@ public int getStateValue() { * * * .google.cloud.dataproc.v1beta2.JobStatus.State state = 1; + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. */ public Builder setStateValue(int value) { state_ = value; @@ -1184,6 +1226,8 @@ public Builder setStateValue(int value) { * * * .google.cloud.dataproc.v1beta2.JobStatus.State state = 1; + * + * @return The state. */ public com.google.cloud.dataproc.v1beta2.JobStatus.State getState() { @SuppressWarnings("deprecation") @@ -1201,6 +1245,9 @@ public com.google.cloud.dataproc.v1beta2.JobStatus.State getState() { * * * .google.cloud.dataproc.v1beta2.JobStatus.State state = 1; + * + * @param value The state to set. + * @return This builder for chaining. */ public Builder setState(com.google.cloud.dataproc.v1beta2.JobStatus.State value) { if (value == null) { @@ -1219,6 +1266,8 @@ public Builder setState(com.google.cloud.dataproc.v1beta2.JobStatus.State value) * * * .google.cloud.dataproc.v1beta2.JobStatus.State state = 1; + * + * @return This builder for chaining. */ public Builder clearState() { @@ -1237,6 +1286,8 @@ public Builder clearState() { * * * string details = 2; + * + * @return The details. */ public java.lang.String getDetails() { java.lang.Object ref = details_; @@ -1258,6 +1309,8 @@ public java.lang.String getDetails() { * * * string details = 2; + * + * @return The bytes for details. */ public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; @@ -1279,6 +1332,9 @@ public com.google.protobuf.ByteString getDetailsBytes() { * * * string details = 2; + * + * @param value The details to set. + * @return This builder for chaining. */ public Builder setDetails(java.lang.String value) { if (value == null) { @@ -1298,6 +1354,8 @@ public Builder setDetails(java.lang.String value) { * * * string details = 2; + * + * @return This builder for chaining. */ public Builder clearDetails() { @@ -1314,6 +1372,9 @@ public Builder clearDetails() { * * * string details = 2; + * + * @param value The bytes for details to set. + * @return This builder for chaining. */ public Builder setDetailsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1340,6 +1401,8 @@ public Builder setDetailsBytes(com.google.protobuf.ByteString value) { * * * .google.protobuf.Timestamp state_start_time = 6; + * + * @return Whether the stateStartTime field is set. */ public boolean hasStateStartTime() { return stateStartTimeBuilder_ != null || stateStartTime_ != null; @@ -1352,6 +1415,8 @@ public boolean hasStateStartTime() { * * * .google.protobuf.Timestamp state_start_time = 6; + * + * @return The stateStartTime. */ public com.google.protobuf.Timestamp getStateStartTime() { if (stateStartTimeBuilder_ == null) { @@ -1517,6 +1582,8 @@ public com.google.protobuf.TimestampOrBuilder getStateStartTimeOrBuilder() { * * * .google.cloud.dataproc.v1beta2.JobStatus.Substate substate = 7; + * + * @return The enum numeric value on the wire for substate. */ public int getSubstateValue() { return substate_; @@ -1530,6 +1597,9 @@ public int getSubstateValue() { * * * .google.cloud.dataproc.v1beta2.JobStatus.Substate substate = 7; + * + * @param value The enum numeric value on the wire for substate to set. + * @return This builder for chaining. */ public Builder setSubstateValue(int value) { substate_ = value; @@ -1545,6 +1615,8 @@ public Builder setSubstateValue(int value) { * * * .google.cloud.dataproc.v1beta2.JobStatus.Substate substate = 7; + * + * @return The substate. */ public com.google.cloud.dataproc.v1beta2.JobStatus.Substate getSubstate() { @SuppressWarnings("deprecation") @@ -1563,6 +1635,9 @@ public com.google.cloud.dataproc.v1beta2.JobStatus.Substate getSubstate() { * * * .google.cloud.dataproc.v1beta2.JobStatus.Substate substate = 7; + * + * @param value The substate to set. + * @return This builder for chaining. */ public Builder setSubstate(com.google.cloud.dataproc.v1beta2.JobStatus.Substate value) { if (value == null) { @@ -1582,6 +1657,8 @@ public Builder setSubstate(com.google.cloud.dataproc.v1beta2.JobStatus.Substate * * * .google.cloud.dataproc.v1beta2.JobStatus.Substate substate = 7; + * + * @return This builder for chaining. */ public Builder clearSubstate() { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobStatusOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobStatusOrBuilder.java index 28fa80df..551255e6 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobStatusOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobStatusOrBuilder.java @@ -31,6 +31,8 @@ public interface JobStatusOrBuilder * * * .google.cloud.dataproc.v1beta2.JobStatus.State state = 1; + * + * @return The enum numeric value on the wire for state. */ int getStateValue(); /** @@ -41,6 +43,8 @@ public interface JobStatusOrBuilder * * * .google.cloud.dataproc.v1beta2.JobStatus.State state = 1; + * + * @return The state. */ com.google.cloud.dataproc.v1beta2.JobStatus.State getState(); @@ -53,6 +57,8 @@ public interface JobStatusOrBuilder * * * string details = 2; + * + * @return The details. */ java.lang.String getDetails(); /** @@ -64,6 +70,8 @@ public interface JobStatusOrBuilder * * * string details = 2; + * + * @return The bytes for details. */ com.google.protobuf.ByteString getDetailsBytes(); @@ -75,6 +83,8 @@ public interface JobStatusOrBuilder * * * .google.protobuf.Timestamp state_start_time = 6; + * + * @return Whether the stateStartTime field is set. */ boolean hasStateStartTime(); /** @@ -85,6 +95,8 @@ public interface JobStatusOrBuilder * * * .google.protobuf.Timestamp state_start_time = 6; + * + * @return The stateStartTime. */ com.google.protobuf.Timestamp getStateStartTime(); /** @@ -107,6 +119,8 @@ public interface JobStatusOrBuilder * * * .google.cloud.dataproc.v1beta2.JobStatus.Substate substate = 7; + * + * @return The enum numeric value on the wire for substate. */ int getSubstateValue(); /** @@ -118,6 +132,8 @@ public interface JobStatusOrBuilder * * * .google.cloud.dataproc.v1beta2.JobStatus.Substate substate = 7; + * + * @return The substate. */ com.google.cloud.dataproc.v1beta2.JobStatus.Substate getSubstate(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobsProto.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobsProto.java index 87d7c5b1..07d3340d 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobsProto.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobsProto.java @@ -370,25 +370,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "s/cloud/dataproc/v1beta2;dataprocb\006proto" + "3" }; - 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.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); internal_static_google_cloud_dataproc_v1beta2_LoggingConfig_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_dataproc_v1beta2_LoggingConfig_fieldAccessorTable = diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/KerberosConfig.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/KerberosConfig.java index d05de26a..030f2143 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/KerberosConfig.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/KerberosConfig.java @@ -53,6 +53,12 @@ private KerberosConfig() { realm_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new KerberosConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -66,7 +72,6 @@ private KerberosConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -222,6 +227,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * bool enable_kerberos = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableKerberos. */ public boolean getEnableKerberos() { return enableKerberos_; @@ -238,6 +245,8 @@ public boolean getEnableKerberos() { * * * string root_principal_password_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The rootPrincipalPasswordUri. */ public java.lang.String getRootPrincipalPasswordUri() { java.lang.Object ref = rootPrincipalPasswordUri_; @@ -259,6 +268,8 @@ public java.lang.String getRootPrincipalPasswordUri() { * * * string root_principal_password_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for rootPrincipalPasswordUri. */ public com.google.protobuf.ByteString getRootPrincipalPasswordUriBytes() { java.lang.Object ref = rootPrincipalPasswordUri_; @@ -283,6 +294,8 @@ public com.google.protobuf.ByteString getRootPrincipalPasswordUriBytes() { * * * string kms_key_uri = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The kmsKeyUri. */ public java.lang.String getKmsKeyUri() { java.lang.Object ref = kmsKeyUri_; @@ -304,6 +317,8 @@ public java.lang.String getKmsKeyUri() { * * * string kms_key_uri = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for kmsKeyUri. */ public com.google.protobuf.ByteString getKmsKeyUriBytes() { java.lang.Object ref = kmsKeyUri_; @@ -329,6 +344,8 @@ public com.google.protobuf.ByteString getKmsKeyUriBytes() { * * * string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The keystoreUri. */ public java.lang.String getKeystoreUri() { java.lang.Object ref = keystoreUri_; @@ -351,6 +368,8 @@ public java.lang.String getKeystoreUri() { * * * string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for keystoreUri. */ public com.google.protobuf.ByteString getKeystoreUriBytes() { java.lang.Object ref = keystoreUri_; @@ -376,6 +395,8 @@ public com.google.protobuf.ByteString getKeystoreUriBytes() { * * * string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The truststoreUri. */ public java.lang.String getTruststoreUri() { java.lang.Object ref = truststoreUri_; @@ -398,6 +419,8 @@ public java.lang.String getTruststoreUri() { * * * string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for truststoreUri. */ public com.google.protobuf.ByteString getTruststoreUriBytes() { java.lang.Object ref = truststoreUri_; @@ -423,6 +446,8 @@ public com.google.protobuf.ByteString getTruststoreUriBytes() { * * * string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The keystorePasswordUri. */ public java.lang.String getKeystorePasswordUri() { java.lang.Object ref = keystorePasswordUri_; @@ -445,6 +470,8 @@ public java.lang.String getKeystorePasswordUri() { * * * string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for keystorePasswordUri. */ public com.google.protobuf.ByteString getKeystorePasswordUriBytes() { java.lang.Object ref = keystorePasswordUri_; @@ -470,6 +497,8 @@ public com.google.protobuf.ByteString getKeystorePasswordUriBytes() { * * * string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The keyPasswordUri. */ public java.lang.String getKeyPasswordUri() { java.lang.Object ref = keyPasswordUri_; @@ -492,6 +521,8 @@ public java.lang.String getKeyPasswordUri() { * * * string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for keyPasswordUri. */ public com.google.protobuf.ByteString getKeyPasswordUriBytes() { java.lang.Object ref = keyPasswordUri_; @@ -517,6 +548,8 @@ public com.google.protobuf.ByteString getKeyPasswordUriBytes() { * * * string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The truststorePasswordUri. */ public java.lang.String getTruststorePasswordUri() { java.lang.Object ref = truststorePasswordUri_; @@ -539,6 +572,8 @@ public java.lang.String getTruststorePasswordUri() { * * * string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for truststorePasswordUri. */ public com.google.protobuf.ByteString getTruststorePasswordUriBytes() { java.lang.Object ref = truststorePasswordUri_; @@ -563,6 +598,8 @@ public com.google.protobuf.ByteString getTruststorePasswordUriBytes() { * * * string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The crossRealmTrustRealm. */ public java.lang.String getCrossRealmTrustRealm() { java.lang.Object ref = crossRealmTrustRealm_; @@ -584,6 +621,8 @@ public java.lang.String getCrossRealmTrustRealm() { * * * string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for crossRealmTrustRealm. */ public com.google.protobuf.ByteString getCrossRealmTrustRealmBytes() { java.lang.Object ref = crossRealmTrustRealm_; @@ -608,6 +647,8 @@ public com.google.protobuf.ByteString getCrossRealmTrustRealmBytes() { * * * string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The crossRealmTrustKdc. */ public java.lang.String getCrossRealmTrustKdc() { java.lang.Object ref = crossRealmTrustKdc_; @@ -629,6 +670,8 @@ public java.lang.String getCrossRealmTrustKdc() { * * * string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for crossRealmTrustKdc. */ public com.google.protobuf.ByteString getCrossRealmTrustKdcBytes() { java.lang.Object ref = crossRealmTrustKdc_; @@ -654,6 +697,8 @@ public com.google.protobuf.ByteString getCrossRealmTrustKdcBytes() { * * string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The crossRealmTrustAdminServer. */ public java.lang.String getCrossRealmTrustAdminServer() { java.lang.Object ref = crossRealmTrustAdminServer_; @@ -676,6 +721,8 @@ public java.lang.String getCrossRealmTrustAdminServer() { * * string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The bytes for crossRealmTrustAdminServer. */ public com.google.protobuf.ByteString getCrossRealmTrustAdminServerBytes() { java.lang.Object ref = crossRealmTrustAdminServer_; @@ -703,6 +750,8 @@ public com.google.protobuf.ByteString getCrossRealmTrustAdminServerBytes() { * * string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The crossRealmTrustSharedPasswordUri. */ public java.lang.String getCrossRealmTrustSharedPasswordUri() { java.lang.Object ref = crossRealmTrustSharedPasswordUri_; @@ -727,6 +776,8 @@ public java.lang.String getCrossRealmTrustSharedPasswordUri() { * * string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The bytes for crossRealmTrustSharedPasswordUri. */ public com.google.protobuf.ByteString getCrossRealmTrustSharedPasswordUriBytes() { java.lang.Object ref = crossRealmTrustSharedPasswordUri_; @@ -751,6 +802,8 @@ public com.google.protobuf.ByteString getCrossRealmTrustSharedPasswordUriBytes() * * * string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The kdcDbKeyUri. */ public java.lang.String getKdcDbKeyUri() { java.lang.Object ref = kdcDbKeyUri_; @@ -772,6 +825,8 @@ public java.lang.String getKdcDbKeyUri() { * * * string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for kdcDbKeyUri. */ public com.google.protobuf.ByteString getKdcDbKeyUriBytes() { java.lang.Object ref = kdcDbKeyUri_; @@ -797,6 +852,8 @@ public com.google.protobuf.ByteString getKdcDbKeyUriBytes() { * * * int32 tgt_lifetime_hours = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The tgtLifetimeHours. */ public int getTgtLifetimeHours() { return tgtLifetimeHours_; @@ -813,6 +870,8 @@ public int getTgtLifetimeHours() { * * * string realm = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The realm. */ public java.lang.String getRealm() { java.lang.Object ref = realm_; @@ -834,6 +893,8 @@ public java.lang.String getRealm() { * * * string realm = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for realm. */ public com.google.protobuf.ByteString getRealmBytes() { java.lang.Object ref = realm_; @@ -1402,6 +1463,8 @@ public Builder mergeFrom( * * * bool enable_kerberos = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableKerberos. */ public boolean getEnableKerberos() { return enableKerberos_; @@ -1414,6 +1477,9 @@ public boolean getEnableKerberos() { * * * bool enable_kerberos = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The enableKerberos to set. + * @return This builder for chaining. */ public Builder setEnableKerberos(boolean value) { @@ -1429,6 +1495,8 @@ public Builder setEnableKerberos(boolean value) { * * * bool enable_kerberos = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearEnableKerberos() { @@ -1448,6 +1516,8 @@ public Builder clearEnableKerberos() { * * string root_principal_password_uri = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The rootPrincipalPasswordUri. */ public java.lang.String getRootPrincipalPasswordUri() { java.lang.Object ref = rootPrincipalPasswordUri_; @@ -1470,6 +1540,8 @@ public java.lang.String getRootPrincipalPasswordUri() { * * string root_principal_password_uri = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The bytes for rootPrincipalPasswordUri. */ public com.google.protobuf.ByteString getRootPrincipalPasswordUriBytes() { java.lang.Object ref = rootPrincipalPasswordUri_; @@ -1492,6 +1564,9 @@ public com.google.protobuf.ByteString getRootPrincipalPasswordUriBytes() { * * string root_principal_password_uri = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @param value The rootPrincipalPasswordUri to set. + * @return This builder for chaining. */ public Builder setRootPrincipalPasswordUri(java.lang.String value) { if (value == null) { @@ -1512,6 +1587,8 @@ public Builder setRootPrincipalPasswordUri(java.lang.String value) { * * string root_principal_password_uri = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return This builder for chaining. */ public Builder clearRootPrincipalPasswordUri() { @@ -1529,6 +1606,9 @@ public Builder clearRootPrincipalPasswordUri() { * * string root_principal_password_uri = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @param value The bytes for rootPrincipalPasswordUri to set. + * @return This builder for chaining. */ public Builder setRootPrincipalPasswordUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1551,6 +1631,8 @@ public Builder setRootPrincipalPasswordUriBytes(com.google.protobuf.ByteString v * * * string kms_key_uri = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The kmsKeyUri. */ public java.lang.String getKmsKeyUri() { java.lang.Object ref = kmsKeyUri_; @@ -1572,6 +1654,8 @@ public java.lang.String getKmsKeyUri() { * * * string kms_key_uri = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for kmsKeyUri. */ public com.google.protobuf.ByteString getKmsKeyUriBytes() { java.lang.Object ref = kmsKeyUri_; @@ -1593,6 +1677,9 @@ public com.google.protobuf.ByteString getKmsKeyUriBytes() { * * * string kms_key_uri = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The kmsKeyUri to set. + * @return This builder for chaining. */ public Builder setKmsKeyUri(java.lang.String value) { if (value == null) { @@ -1612,6 +1699,8 @@ public Builder setKmsKeyUri(java.lang.String value) { * * * string kms_key_uri = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearKmsKeyUri() { @@ -1628,6 +1717,9 @@ public Builder clearKmsKeyUri() { * * * string kms_key_uri = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for kmsKeyUri to set. + * @return This builder for chaining. */ public Builder setKmsKeyUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1651,6 +1743,8 @@ public Builder setKmsKeyUriBytes(com.google.protobuf.ByteString value) { * * * string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The keystoreUri. */ public java.lang.String getKeystoreUri() { java.lang.Object ref = keystoreUri_; @@ -1673,6 +1767,8 @@ public java.lang.String getKeystoreUri() { * * * string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for keystoreUri. */ public com.google.protobuf.ByteString getKeystoreUriBytes() { java.lang.Object ref = keystoreUri_; @@ -1695,6 +1791,9 @@ public com.google.protobuf.ByteString getKeystoreUriBytes() { * * * string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The keystoreUri to set. + * @return This builder for chaining. */ public Builder setKeystoreUri(java.lang.String value) { if (value == null) { @@ -1715,6 +1814,8 @@ public Builder setKeystoreUri(java.lang.String value) { * * * string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearKeystoreUri() { @@ -1732,6 +1833,9 @@ public Builder clearKeystoreUri() { * * * string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for keystoreUri to set. + * @return This builder for chaining. */ public Builder setKeystoreUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1755,6 +1859,8 @@ public Builder setKeystoreUriBytes(com.google.protobuf.ByteString value) { * * * string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The truststoreUri. */ public java.lang.String getTruststoreUri() { java.lang.Object ref = truststoreUri_; @@ -1777,6 +1883,8 @@ public java.lang.String getTruststoreUri() { * * * string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for truststoreUri. */ public com.google.protobuf.ByteString getTruststoreUriBytes() { java.lang.Object ref = truststoreUri_; @@ -1799,6 +1907,9 @@ public com.google.protobuf.ByteString getTruststoreUriBytes() { * * * string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The truststoreUri to set. + * @return This builder for chaining. */ public Builder setTruststoreUri(java.lang.String value) { if (value == null) { @@ -1819,6 +1930,8 @@ public Builder setTruststoreUri(java.lang.String value) { * * * string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearTruststoreUri() { @@ -1836,6 +1949,9 @@ public Builder clearTruststoreUri() { * * * string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for truststoreUri to set. + * @return This builder for chaining. */ public Builder setTruststoreUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1859,6 +1975,8 @@ public Builder setTruststoreUriBytes(com.google.protobuf.ByteString value) { * * * string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The keystorePasswordUri. */ public java.lang.String getKeystorePasswordUri() { java.lang.Object ref = keystorePasswordUri_; @@ -1881,6 +1999,8 @@ public java.lang.String getKeystorePasswordUri() { * * * string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for keystorePasswordUri. */ public com.google.protobuf.ByteString getKeystorePasswordUriBytes() { java.lang.Object ref = keystorePasswordUri_; @@ -1903,6 +2023,9 @@ public com.google.protobuf.ByteString getKeystorePasswordUriBytes() { * * * string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The keystorePasswordUri to set. + * @return This builder for chaining. */ public Builder setKeystorePasswordUri(java.lang.String value) { if (value == null) { @@ -1923,6 +2046,8 @@ public Builder setKeystorePasswordUri(java.lang.String value) { * * * string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearKeystorePasswordUri() { @@ -1940,6 +2065,9 @@ public Builder clearKeystorePasswordUri() { * * * string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for keystorePasswordUri to set. + * @return This builder for chaining. */ public Builder setKeystorePasswordUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1963,6 +2091,8 @@ public Builder setKeystorePasswordUriBytes(com.google.protobuf.ByteString value) * * * string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The keyPasswordUri. */ public java.lang.String getKeyPasswordUri() { java.lang.Object ref = keyPasswordUri_; @@ -1985,6 +2115,8 @@ public java.lang.String getKeyPasswordUri() { * * * string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for keyPasswordUri. */ public com.google.protobuf.ByteString getKeyPasswordUriBytes() { java.lang.Object ref = keyPasswordUri_; @@ -2007,6 +2139,9 @@ public com.google.protobuf.ByteString getKeyPasswordUriBytes() { * * * string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The keyPasswordUri to set. + * @return This builder for chaining. */ public Builder setKeyPasswordUri(java.lang.String value) { if (value == null) { @@ -2027,6 +2162,8 @@ public Builder setKeyPasswordUri(java.lang.String value) { * * * string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearKeyPasswordUri() { @@ -2044,6 +2181,9 @@ public Builder clearKeyPasswordUri() { * * * string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for keyPasswordUri to set. + * @return This builder for chaining. */ public Builder setKeyPasswordUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2067,6 +2207,8 @@ public Builder setKeyPasswordUriBytes(com.google.protobuf.ByteString value) { * * * string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The truststorePasswordUri. */ public java.lang.String getTruststorePasswordUri() { java.lang.Object ref = truststorePasswordUri_; @@ -2089,6 +2231,8 @@ public java.lang.String getTruststorePasswordUri() { * * * string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for truststorePasswordUri. */ public com.google.protobuf.ByteString getTruststorePasswordUriBytes() { java.lang.Object ref = truststorePasswordUri_; @@ -2111,6 +2255,9 @@ public com.google.protobuf.ByteString getTruststorePasswordUriBytes() { * * * string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The truststorePasswordUri to set. + * @return This builder for chaining. */ public Builder setTruststorePasswordUri(java.lang.String value) { if (value == null) { @@ -2131,6 +2278,8 @@ public Builder setTruststorePasswordUri(java.lang.String value) { * * * string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearTruststorePasswordUri() { @@ -2148,6 +2297,9 @@ public Builder clearTruststorePasswordUri() { * * * string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for truststorePasswordUri to set. + * @return This builder for chaining. */ public Builder setTruststorePasswordUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2170,6 +2322,8 @@ public Builder setTruststorePasswordUriBytes(com.google.protobuf.ByteString valu * * * string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The crossRealmTrustRealm. */ public java.lang.String getCrossRealmTrustRealm() { java.lang.Object ref = crossRealmTrustRealm_; @@ -2191,6 +2345,8 @@ public java.lang.String getCrossRealmTrustRealm() { * * * string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for crossRealmTrustRealm. */ public com.google.protobuf.ByteString getCrossRealmTrustRealmBytes() { java.lang.Object ref = crossRealmTrustRealm_; @@ -2212,6 +2368,9 @@ public com.google.protobuf.ByteString getCrossRealmTrustRealmBytes() { * * * string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The crossRealmTrustRealm to set. + * @return This builder for chaining. */ public Builder setCrossRealmTrustRealm(java.lang.String value) { if (value == null) { @@ -2231,6 +2390,8 @@ public Builder setCrossRealmTrustRealm(java.lang.String value) { * * * string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearCrossRealmTrustRealm() { @@ -2247,6 +2408,9 @@ public Builder clearCrossRealmTrustRealm() { * * * string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for crossRealmTrustRealm to set. + * @return This builder for chaining. */ public Builder setCrossRealmTrustRealmBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2269,6 +2433,8 @@ public Builder setCrossRealmTrustRealmBytes(com.google.protobuf.ByteString value * * * string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The crossRealmTrustKdc. */ public java.lang.String getCrossRealmTrustKdc() { java.lang.Object ref = crossRealmTrustKdc_; @@ -2290,6 +2456,8 @@ public java.lang.String getCrossRealmTrustKdc() { * * * string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for crossRealmTrustKdc. */ public com.google.protobuf.ByteString getCrossRealmTrustKdcBytes() { java.lang.Object ref = crossRealmTrustKdc_; @@ -2311,6 +2479,9 @@ public com.google.protobuf.ByteString getCrossRealmTrustKdcBytes() { * * * string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The crossRealmTrustKdc to set. + * @return This builder for chaining. */ public Builder setCrossRealmTrustKdc(java.lang.String value) { if (value == null) { @@ -2330,6 +2501,8 @@ public Builder setCrossRealmTrustKdc(java.lang.String value) { * * * string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearCrossRealmTrustKdc() { @@ -2346,6 +2519,9 @@ public Builder clearCrossRealmTrustKdc() { * * * string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for crossRealmTrustKdc to set. + * @return This builder for chaining. */ public Builder setCrossRealmTrustKdcBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2369,6 +2545,8 @@ public Builder setCrossRealmTrustKdcBytes(com.google.protobuf.ByteString value) * * string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The crossRealmTrustAdminServer. */ public java.lang.String getCrossRealmTrustAdminServer() { java.lang.Object ref = crossRealmTrustAdminServer_; @@ -2391,6 +2569,8 @@ public java.lang.String getCrossRealmTrustAdminServer() { * * string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The bytes for crossRealmTrustAdminServer. */ public com.google.protobuf.ByteString getCrossRealmTrustAdminServerBytes() { java.lang.Object ref = crossRealmTrustAdminServer_; @@ -2413,6 +2593,9 @@ public com.google.protobuf.ByteString getCrossRealmTrustAdminServerBytes() { * * string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The crossRealmTrustAdminServer to set. + * @return This builder for chaining. */ public Builder setCrossRealmTrustAdminServer(java.lang.String value) { if (value == null) { @@ -2433,6 +2616,8 @@ public Builder setCrossRealmTrustAdminServer(java.lang.String value) { * * string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearCrossRealmTrustAdminServer() { @@ -2450,6 +2635,9 @@ public Builder clearCrossRealmTrustAdminServer() { * * string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The bytes for crossRealmTrustAdminServer to set. + * @return This builder for chaining. */ public Builder setCrossRealmTrustAdminServerBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2475,6 +2663,8 @@ public Builder setCrossRealmTrustAdminServerBytes(com.google.protobuf.ByteString * * string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The crossRealmTrustSharedPasswordUri. */ public java.lang.String getCrossRealmTrustSharedPasswordUri() { java.lang.Object ref = crossRealmTrustSharedPasswordUri_; @@ -2499,6 +2689,8 @@ public java.lang.String getCrossRealmTrustSharedPasswordUri() { * * string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The bytes for crossRealmTrustSharedPasswordUri. */ public com.google.protobuf.ByteString getCrossRealmTrustSharedPasswordUriBytes() { java.lang.Object ref = crossRealmTrustSharedPasswordUri_; @@ -2523,6 +2715,9 @@ public com.google.protobuf.ByteString getCrossRealmTrustSharedPasswordUriBytes() * * string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The crossRealmTrustSharedPasswordUri to set. + * @return This builder for chaining. */ public Builder setCrossRealmTrustSharedPasswordUri(java.lang.String value) { if (value == null) { @@ -2545,6 +2740,8 @@ public Builder setCrossRealmTrustSharedPasswordUri(java.lang.String value) { * * string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearCrossRealmTrustSharedPasswordUri() { @@ -2565,6 +2762,9 @@ public Builder clearCrossRealmTrustSharedPasswordUri() { * * string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The bytes for crossRealmTrustSharedPasswordUri to set. + * @return This builder for chaining. */ public Builder setCrossRealmTrustSharedPasswordUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2587,6 +2787,8 @@ public Builder setCrossRealmTrustSharedPasswordUriBytes(com.google.protobuf.Byte * * * string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The kdcDbKeyUri. */ public java.lang.String getKdcDbKeyUri() { java.lang.Object ref = kdcDbKeyUri_; @@ -2608,6 +2810,8 @@ public java.lang.String getKdcDbKeyUri() { * * * string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for kdcDbKeyUri. */ public com.google.protobuf.ByteString getKdcDbKeyUriBytes() { java.lang.Object ref = kdcDbKeyUri_; @@ -2629,6 +2833,9 @@ public com.google.protobuf.ByteString getKdcDbKeyUriBytes() { * * * string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The kdcDbKeyUri to set. + * @return This builder for chaining. */ public Builder setKdcDbKeyUri(java.lang.String value) { if (value == null) { @@ -2648,6 +2855,8 @@ public Builder setKdcDbKeyUri(java.lang.String value) { * * * string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearKdcDbKeyUri() { @@ -2664,6 +2873,9 @@ public Builder clearKdcDbKeyUri() { * * * string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for kdcDbKeyUri to set. + * @return This builder for chaining. */ public Builder setKdcDbKeyUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2687,6 +2899,8 @@ public Builder setKdcDbKeyUriBytes(com.google.protobuf.ByteString value) { * * * int32 tgt_lifetime_hours = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The tgtLifetimeHours. */ public int getTgtLifetimeHours() { return tgtLifetimeHours_; @@ -2701,6 +2915,9 @@ public int getTgtLifetimeHours() { * * * int32 tgt_lifetime_hours = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The tgtLifetimeHours to set. + * @return This builder for chaining. */ public Builder setTgtLifetimeHours(int value) { @@ -2718,6 +2935,8 @@ public Builder setTgtLifetimeHours(int value) { * * * int32 tgt_lifetime_hours = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearTgtLifetimeHours() { @@ -2736,6 +2955,8 @@ public Builder clearTgtLifetimeHours() { * * * string realm = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The realm. */ public java.lang.String getRealm() { java.lang.Object ref = realm_; @@ -2757,6 +2978,8 @@ public java.lang.String getRealm() { * * * string realm = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for realm. */ public com.google.protobuf.ByteString getRealmBytes() { java.lang.Object ref = realm_; @@ -2778,6 +3001,9 @@ public com.google.protobuf.ByteString getRealmBytes() { * * * string realm = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The realm to set. + * @return This builder for chaining. */ public Builder setRealm(java.lang.String value) { if (value == null) { @@ -2797,6 +3023,8 @@ public Builder setRealm(java.lang.String value) { * * * string realm = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearRealm() { @@ -2813,6 +3041,9 @@ public Builder clearRealm() { * * * string realm = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for realm to set. + * @return This builder for chaining. */ public Builder setRealmBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/KerberosConfigOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/KerberosConfigOrBuilder.java index 50427909..52c27745 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/KerberosConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/KerberosConfigOrBuilder.java @@ -31,6 +31,8 @@ public interface KerberosConfigOrBuilder * * * bool enable_kerberos = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableKerberos. */ boolean getEnableKerberos(); @@ -43,6 +45,8 @@ public interface KerberosConfigOrBuilder * * * string root_principal_password_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The rootPrincipalPasswordUri. */ java.lang.String getRootPrincipalPasswordUri(); /** @@ -54,6 +58,8 @@ public interface KerberosConfigOrBuilder * * * string root_principal_password_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for rootPrincipalPasswordUri. */ com.google.protobuf.ByteString getRootPrincipalPasswordUriBytes(); @@ -66,6 +72,8 @@ public interface KerberosConfigOrBuilder * * * string kms_key_uri = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The kmsKeyUri. */ java.lang.String getKmsKeyUri(); /** @@ -77,6 +85,8 @@ public interface KerberosConfigOrBuilder * * * string kms_key_uri = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for kmsKeyUri. */ com.google.protobuf.ByteString getKmsKeyUriBytes(); @@ -90,6 +100,8 @@ public interface KerberosConfigOrBuilder * * * string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The keystoreUri. */ java.lang.String getKeystoreUri(); /** @@ -102,6 +114,8 @@ public interface KerberosConfigOrBuilder * * * string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for keystoreUri. */ com.google.protobuf.ByteString getKeystoreUriBytes(); @@ -115,6 +129,8 @@ public interface KerberosConfigOrBuilder * * * string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The truststoreUri. */ java.lang.String getTruststoreUri(); /** @@ -127,6 +143,8 @@ public interface KerberosConfigOrBuilder * * * string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for truststoreUri. */ com.google.protobuf.ByteString getTruststoreUriBytes(); @@ -140,6 +158,8 @@ public interface KerberosConfigOrBuilder * * * string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The keystorePasswordUri. */ java.lang.String getKeystorePasswordUri(); /** @@ -152,6 +172,8 @@ public interface KerberosConfigOrBuilder * * * string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for keystorePasswordUri. */ com.google.protobuf.ByteString getKeystorePasswordUriBytes(); @@ -165,6 +187,8 @@ public interface KerberosConfigOrBuilder * * * string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The keyPasswordUri. */ java.lang.String getKeyPasswordUri(); /** @@ -177,6 +201,8 @@ public interface KerberosConfigOrBuilder * * * string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for keyPasswordUri. */ com.google.protobuf.ByteString getKeyPasswordUriBytes(); @@ -190,6 +216,8 @@ public interface KerberosConfigOrBuilder * * * string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The truststorePasswordUri. */ java.lang.String getTruststorePasswordUri(); /** @@ -202,6 +230,8 @@ public interface KerberosConfigOrBuilder * * * string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for truststorePasswordUri. */ com.google.protobuf.ByteString getTruststorePasswordUriBytes(); @@ -214,6 +244,8 @@ public interface KerberosConfigOrBuilder * * * string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The crossRealmTrustRealm. */ java.lang.String getCrossRealmTrustRealm(); /** @@ -225,6 +257,8 @@ public interface KerberosConfigOrBuilder * * * string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for crossRealmTrustRealm. */ com.google.protobuf.ByteString getCrossRealmTrustRealmBytes(); @@ -237,6 +271,8 @@ public interface KerberosConfigOrBuilder * * * string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The crossRealmTrustKdc. */ java.lang.String getCrossRealmTrustKdc(); /** @@ -248,6 +284,8 @@ public interface KerberosConfigOrBuilder * * * string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for crossRealmTrustKdc. */ com.google.protobuf.ByteString getCrossRealmTrustKdcBytes(); @@ -261,6 +299,8 @@ public interface KerberosConfigOrBuilder * * string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The crossRealmTrustAdminServer. */ java.lang.String getCrossRealmTrustAdminServer(); /** @@ -273,6 +313,8 @@ public interface KerberosConfigOrBuilder * * string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The bytes for crossRealmTrustAdminServer. */ com.google.protobuf.ByteString getCrossRealmTrustAdminServerBytes(); @@ -288,6 +330,8 @@ public interface KerberosConfigOrBuilder * * string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The crossRealmTrustSharedPasswordUri. */ java.lang.String getCrossRealmTrustSharedPasswordUri(); /** @@ -302,6 +346,8 @@ public interface KerberosConfigOrBuilder * * string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The bytes for crossRealmTrustSharedPasswordUri. */ com.google.protobuf.ByteString getCrossRealmTrustSharedPasswordUriBytes(); @@ -314,6 +360,8 @@ public interface KerberosConfigOrBuilder * * * string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The kdcDbKeyUri. */ java.lang.String getKdcDbKeyUri(); /** @@ -325,6 +373,8 @@ public interface KerberosConfigOrBuilder * * * string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for kdcDbKeyUri. */ com.google.protobuf.ByteString getKdcDbKeyUriBytes(); @@ -338,6 +388,8 @@ public interface KerberosConfigOrBuilder * * * int32 tgt_lifetime_hours = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The tgtLifetimeHours. */ int getTgtLifetimeHours(); @@ -350,6 +402,8 @@ public interface KerberosConfigOrBuilder * * * string realm = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The realm. */ java.lang.String getRealm(); /** @@ -361,6 +415,8 @@ public interface KerberosConfigOrBuilder * * * string realm = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for realm. */ com.google.protobuf.ByteString getRealmBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/LifecycleConfig.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/LifecycleConfig.java index 261966e7..0b8192c8 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/LifecycleConfig.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/LifecycleConfig.java @@ -39,6 +39,12 @@ private LifecycleConfig(com.google.protobuf.GeneratedMessageV3.Builder builde private LifecycleConfig() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LifecycleConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private LifecycleConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -158,7 +163,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int ttlCase_ = 0; private java.lang.Object ttl_; - public enum TtlCase implements com.google.protobuf.Internal.EnumLite { + public enum TtlCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { AUTO_DELETE_TIME(2), AUTO_DELETE_TTL(3), TTL_NOT_SET(0); @@ -167,7 +175,11 @@ public enum TtlCase implements com.google.protobuf.Internal.EnumLite { private TtlCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static TtlCase valueOf(int value) { return forNumber(value); @@ -210,6 +222,8 @@ public TtlCase getTtlCase() { * * .google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the idleDeleteTtl field is set. */ public boolean hasIdleDeleteTtl() { return idleDeleteTtl_ != null; @@ -227,6 +241,8 @@ public boolean hasIdleDeleteTtl() { * * .google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The idleDeleteTtl. */ public com.google.protobuf.Duration getIdleDeleteTtl() { return idleDeleteTtl_ == null @@ -260,6 +276,8 @@ public com.google.protobuf.DurationOrBuilder getIdleDeleteTtlOrBuilder() { * * * .google.protobuf.Timestamp auto_delete_time = 2; + * + * @return Whether the autoDeleteTime field is set. */ public boolean hasAutoDeleteTime() { return ttlCase_ == 2; @@ -272,6 +290,8 @@ public boolean hasAutoDeleteTime() { * * * .google.protobuf.Timestamp auto_delete_time = 2; + * + * @return The autoDeleteTime. */ public com.google.protobuf.Timestamp getAutoDeleteTime() { if (ttlCase_ == 2) { @@ -306,6 +326,8 @@ public com.google.protobuf.TimestampOrBuilder getAutoDeleteTimeOrBuilder() { * * * .google.protobuf.Duration auto_delete_ttl = 3; + * + * @return Whether the autoDeleteTtl field is set. */ public boolean hasAutoDeleteTtl() { return ttlCase_ == 3; @@ -320,6 +342,8 @@ public boolean hasAutoDeleteTtl() { * * * .google.protobuf.Duration auto_delete_ttl = 3; + * + * @return The autoDeleteTtl. */ public com.google.protobuf.Duration getAutoDeleteTtl() { if (ttlCase_ == 3) { @@ -358,6 +382,8 @@ public com.google.protobuf.DurationOrBuilder getAutoDeleteTtlOrBuilder() { * * .google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the idleStartTime field is set. */ public boolean hasIdleStartTime() { return idleStartTime_ != null; @@ -373,6 +399,8 @@ public boolean hasIdleStartTime() { * * .google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The idleStartTime. */ public com.google.protobuf.Timestamp getIdleStartTime() { return idleStartTime_ == null @@ -859,6 +887,8 @@ public Builder clearTtl() { * * .google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the idleDeleteTtl field is set. */ public boolean hasIdleDeleteTtl() { return idleDeleteTtlBuilder_ != null || idleDeleteTtl_ != null; @@ -877,6 +907,8 @@ public boolean hasIdleDeleteTtl() { * * .google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The idleDeleteTtl. */ public com.google.protobuf.Duration getIdleDeleteTtl() { if (idleDeleteTtlBuilder_ == null) { @@ -1087,6 +1119,8 @@ public com.google.protobuf.DurationOrBuilder getIdleDeleteTtlOrBuilder() { * * * .google.protobuf.Timestamp auto_delete_time = 2; + * + * @return Whether the autoDeleteTime field is set. */ public boolean hasAutoDeleteTime() { return ttlCase_ == 2; @@ -1099,6 +1133,8 @@ public boolean hasAutoDeleteTime() { * * * .google.protobuf.Timestamp auto_delete_time = 2; + * + * @return The autoDeleteTime. */ public com.google.protobuf.Timestamp getAutoDeleteTime() { if (autoDeleteTimeBuilder_ == null) { @@ -1286,6 +1322,8 @@ public com.google.protobuf.TimestampOrBuilder getAutoDeleteTimeOrBuilder() { * * * .google.protobuf.Duration auto_delete_ttl = 3; + * + * @return Whether the autoDeleteTtl field is set. */ public boolean hasAutoDeleteTtl() { return ttlCase_ == 3; @@ -1300,6 +1338,8 @@ public boolean hasAutoDeleteTtl() { * * * .google.protobuf.Duration auto_delete_ttl = 3; + * + * @return The autoDeleteTtl. */ public com.google.protobuf.Duration getAutoDeleteTtl() { if (autoDeleteTtlBuilder_ == null) { @@ -1503,6 +1543,8 @@ public com.google.protobuf.DurationOrBuilder getAutoDeleteTtlOrBuilder() { * * .google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the idleStartTime field is set. */ public boolean hasIdleStartTime() { return idleStartTimeBuilder_ != null || idleStartTime_ != null; @@ -1518,6 +1560,8 @@ public boolean hasIdleStartTime() { * * .google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The idleStartTime. */ public com.google.protobuf.Timestamp getIdleStartTime() { if (idleStartTimeBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/LifecycleConfigOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/LifecycleConfigOrBuilder.java index 07ab8ba5..c84ccada 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/LifecycleConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/LifecycleConfigOrBuilder.java @@ -36,6 +36,8 @@ public interface LifecycleConfigOrBuilder * * .google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the idleDeleteTtl field is set. */ boolean hasIdleDeleteTtl(); /** @@ -51,6 +53,8 @@ public interface LifecycleConfigOrBuilder * * .google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The idleDeleteTtl. */ com.google.protobuf.Duration getIdleDeleteTtl(); /** @@ -77,6 +81,8 @@ public interface LifecycleConfigOrBuilder * * * .google.protobuf.Timestamp auto_delete_time = 2; + * + * @return Whether the autoDeleteTime field is set. */ boolean hasAutoDeleteTime(); /** @@ -87,6 +93,8 @@ public interface LifecycleConfigOrBuilder * * * .google.protobuf.Timestamp auto_delete_time = 2; + * + * @return The autoDeleteTime. */ com.google.protobuf.Timestamp getAutoDeleteTime(); /** @@ -110,6 +118,8 @@ public interface LifecycleConfigOrBuilder * * * .google.protobuf.Duration auto_delete_ttl = 3; + * + * @return Whether the autoDeleteTtl field is set. */ boolean hasAutoDeleteTtl(); /** @@ -122,6 +132,8 @@ public interface LifecycleConfigOrBuilder * * * .google.protobuf.Duration auto_delete_ttl = 3; + * + * @return The autoDeleteTtl. */ com.google.protobuf.Duration getAutoDeleteTtl(); /** @@ -148,6 +160,8 @@ public interface LifecycleConfigOrBuilder * * .google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the idleStartTime field is set. */ boolean hasIdleStartTime(); /** @@ -161,6 +175,8 @@ public interface LifecycleConfigOrBuilder * * .google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The idleStartTime. */ com.google.protobuf.Timestamp getIdleStartTime(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListAutoscalingPoliciesRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListAutoscalingPoliciesRequest.java index 852d5286..9c71e14a 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListAutoscalingPoliciesRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListAutoscalingPoliciesRequest.java @@ -43,6 +43,12 @@ private ListAutoscalingPoliciesRequest() { pageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListAutoscalingPoliciesRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private ListAutoscalingPoliciesRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -139,6 +144,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -168,6 +175,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -192,6 +201,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -208,6 +219,8 @@ public int getPageSize() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -229,6 +242,8 @@ public java.lang.String getPageToken() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -614,6 +629,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -643,6 +660,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -672,6 +691,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -699,6 +721,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -723,6 +747,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -745,6 +772,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -758,6 +787,9 @@ public int getPageSize() { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageSize to set. + * @return This builder for chaining. */ public Builder setPageSize(int value) { @@ -774,6 +806,8 @@ public Builder setPageSize(int value) { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearPageSize() { @@ -792,6 +826,8 @@ public Builder clearPageSize() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -813,6 +849,8 @@ public java.lang.String getPageToken() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -834,6 +872,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageToken to set. + * @return This builder for chaining. */ public Builder setPageToken(java.lang.String value) { if (value == null) { @@ -853,6 +894,8 @@ public Builder setPageToken(java.lang.String value) { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearPageToken() { @@ -869,6 +912,9 @@ public Builder clearPageToken() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. */ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListAutoscalingPoliciesRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListAutoscalingPoliciesRequestOrBuilder.java index 354fdeee..a80313a8 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListAutoscalingPoliciesRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListAutoscalingPoliciesRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface ListAutoscalingPoliciesRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -59,6 +61,8 @@ public interface ListAutoscalingPoliciesRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -71,6 +75,8 @@ public interface ListAutoscalingPoliciesRequestOrBuilder * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. */ int getPageSize(); @@ -83,6 +89,8 @@ public interface ListAutoscalingPoliciesRequestOrBuilder * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. */ java.lang.String getPageToken(); /** @@ -94,6 +102,8 @@ public interface ListAutoscalingPoliciesRequestOrBuilder * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListAutoscalingPoliciesResponse.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListAutoscalingPoliciesResponse.java index 7e02db9c..2f2622ce 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListAutoscalingPoliciesResponse.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListAutoscalingPoliciesResponse.java @@ -43,6 +43,12 @@ private ListAutoscalingPoliciesResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListAutoscalingPoliciesResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -124,7 +130,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesResponse.Builder.class); } - private int bitField0_; public static final int POLICIES_FIELD_NUMBER = 1; private java.util.List policies_; /** @@ -211,6 +216,8 @@ public com.google.cloud.dataproc.v1beta2.AutoscalingPolicyOrBuilder getPoliciesO * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -232,6 +239,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -502,7 +511,6 @@ public com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesResponse buildPa com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesResponse result = new com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesResponse(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (policiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { policies_ = java.util.Collections.unmodifiableList(policies_); @@ -513,7 +521,6 @@ public com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesResponse buildPa result.policies_ = policiesBuilder_.build(); } result.nextPageToken_ = nextPageToken_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1033,6 +1040,8 @@ public com.google.cloud.dataproc.v1beta2.AutoscalingPolicy.Builder addPoliciesBu * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -1054,6 +1063,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -1075,6 +1086,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { @@ -1094,6 +1108,8 @@ public Builder setNextPageToken(java.lang.String value) { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1110,6 +1126,9 @@ public Builder clearNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListAutoscalingPoliciesResponseOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListAutoscalingPoliciesResponseOrBuilder.java index eec8b566..8a82389f 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListAutoscalingPoliciesResponseOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListAutoscalingPoliciesResponseOrBuilder.java @@ -94,6 +94,8 @@ public interface ListAutoscalingPoliciesResponseOrBuilder * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** @@ -105,6 +107,8 @@ public interface ListAutoscalingPoliciesResponseOrBuilder * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListClustersRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListClustersRequest.java index 0c73319d..30a01512 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListClustersRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListClustersRequest.java @@ -44,6 +44,12 @@ private ListClustersRequest() { pageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListClustersRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -57,7 +63,6 @@ private ListClustersRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -146,6 +151,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -167,6 +174,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -190,6 +199,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -210,6 +221,8 @@ public java.lang.String getRegion() { * * * string region = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -247,6 +260,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; @@ -281,6 +296,8 @@ public java.lang.String getFilter() { * * * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; @@ -304,6 +321,8 @@ public com.google.protobuf.ByteString getFilterBytes() { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -319,6 +338,8 @@ public int getPageSize() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -339,6 +360,8 @@ public java.lang.String getPageToken() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -744,6 +767,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -765,6 +790,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -786,6 +813,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -805,6 +835,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -821,6 +853,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -842,6 +877,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -862,6 +899,8 @@ public java.lang.String getRegion() { * * * string region = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -882,6 +921,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -900,6 +942,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -915,6 +959,9 @@ public Builder clearRegion() { * * * string region = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -950,6 +997,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; @@ -984,6 +1033,8 @@ public java.lang.String getFilter() { * * * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; @@ -1018,6 +1069,9 @@ public com.google.protobuf.ByteString getFilterBytes() { * * * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The filter to set. + * @return This builder for chaining. */ public Builder setFilter(java.lang.String value) { if (value == null) { @@ -1050,6 +1104,8 @@ public Builder setFilter(java.lang.String value) { * * * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearFilter() { @@ -1079,6 +1135,9 @@ public Builder clearFilter() { * * * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. */ public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1100,6 +1159,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -1112,6 +1173,9 @@ public int getPageSize() { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageSize to set. + * @return This builder for chaining. */ public Builder setPageSize(int value) { @@ -1127,6 +1191,8 @@ public Builder setPageSize(int value) { * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1144,6 +1210,8 @@ public Builder clearPageSize() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -1164,6 +1232,8 @@ public java.lang.String getPageToken() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -1184,6 +1254,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageToken to set. + * @return This builder for chaining. */ public Builder setPageToken(java.lang.String value) { if (value == null) { @@ -1202,6 +1275,8 @@ public Builder setPageToken(java.lang.String value) { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1217,6 +1292,9 @@ public Builder clearPageToken() { * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. */ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListClustersRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListClustersRequestOrBuilder.java index fd06482d..c2f03ac6 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListClustersRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListClustersRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface ListClustersRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface ListClustersRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface ListClustersRequestOrBuilder * * * string region = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface ListClustersRequestOrBuilder * * * string region = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -89,6 +97,8 @@ public interface ListClustersRequestOrBuilder * * * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. */ java.lang.String getFilter(); /** @@ -113,6 +123,8 @@ public interface ListClustersRequestOrBuilder * * * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); @@ -124,6 +136,8 @@ public interface ListClustersRequestOrBuilder * * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. */ int getPageSize(); @@ -135,6 +149,8 @@ public interface ListClustersRequestOrBuilder * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. */ java.lang.String getPageToken(); /** @@ -145,6 +161,8 @@ public interface ListClustersRequestOrBuilder * * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListClustersResponse.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListClustersResponse.java index ec8bc25a..f58cad11 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListClustersResponse.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListClustersResponse.java @@ -42,6 +42,12 @@ private ListClustersResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListClustersResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -121,7 +127,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dataproc.v1beta2.ListClustersResponse.Builder.class); } - private int bitField0_; public static final int CLUSTERS_FIELD_NUMBER = 1; private java.util.List clusters_; /** @@ -208,6 +213,8 @@ public com.google.cloud.dataproc.v1beta2.ClusterOrBuilder getClustersOrBuilder(i * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -230,6 +237,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -497,7 +506,6 @@ public com.google.cloud.dataproc.v1beta2.ListClustersResponse buildPartial() { com.google.cloud.dataproc.v1beta2.ListClustersResponse result = new com.google.cloud.dataproc.v1beta2.ListClustersResponse(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { clusters_ = java.util.Collections.unmodifiableList(clusters_); @@ -508,7 +516,6 @@ public com.google.cloud.dataproc.v1beta2.ListClustersResponse buildPartial() { result.clusters_ = clustersBuilder_.build(); } result.nextPageToken_ = nextPageToken_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1018,6 +1025,8 @@ public com.google.cloud.dataproc.v1beta2.Cluster.Builder addClustersBuilder(int * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -1040,6 +1049,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -1062,6 +1073,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { @@ -1082,6 +1096,8 @@ public Builder setNextPageToken(java.lang.String value) { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1099,6 +1115,9 @@ public Builder clearNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListClustersResponseOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListClustersResponseOrBuilder.java index e7fe7549..3771dd00 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListClustersResponseOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListClustersResponseOrBuilder.java @@ -95,6 +95,8 @@ public interface ListClustersResponseOrBuilder * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** @@ -107,6 +109,8 @@ public interface ListClustersResponseOrBuilder * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListJobsRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListJobsRequest.java index 13526612..d77ccbea 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListJobsRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListJobsRequest.java @@ -46,6 +46,12 @@ private ListJobsRequest() { filter_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListJobsRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -59,7 +65,6 @@ private ListJobsRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -235,12 +240,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static JobStateMatcher valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static JobStateMatcher forNumber(int value) { switch (value) { case 0: @@ -313,6 +326,8 @@ private JobStateMatcher(int value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -334,6 +349,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -357,6 +374,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -377,6 +396,8 @@ public java.lang.String getRegion() { * * * string region = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -400,6 +421,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * int32 page_size = 2; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -416,6 +439,8 @@ public int getPageSize() { * * * string page_token = 3; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -437,6 +462,8 @@ public java.lang.String getPageToken() { * * * string page_token = 3; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -461,6 +488,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * string cluster_name = 4; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -482,6 +511,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 4; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -508,6 +539,8 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * .google.cloud.dataproc.v1beta2.ListJobsRequest.JobStateMatcher job_state_matcher = 5; * + * + * @return The enum numeric value on the wire for jobStateMatcher. */ public int getJobStateMatcherValue() { return jobStateMatcher_; @@ -523,6 +556,8 @@ public int getJobStateMatcherValue() { * * .google.cloud.dataproc.v1beta2.ListJobsRequest.JobStateMatcher job_state_matcher = 5; * + * + * @return The jobStateMatcher. */ public com.google.cloud.dataproc.v1beta2.ListJobsRequest.JobStateMatcher getJobStateMatcher() { @SuppressWarnings("deprecation") @@ -552,6 +587,8 @@ public com.google.cloud.dataproc.v1beta2.ListJobsRequest.JobStateMatcher getJobS * * * string filter = 7; + * + * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; @@ -581,6 +618,8 @@ public java.lang.String getFilter() { * * * string filter = 7; + * + * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; @@ -1018,6 +1057,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -1039,6 +1080,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -1060,6 +1103,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -1079,6 +1125,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1095,6 +1143,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1116,6 +1167,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -1136,6 +1189,8 @@ public java.lang.String getRegion() { * * * string region = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -1156,6 +1211,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -1174,6 +1232,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -1189,6 +1249,9 @@ public Builder clearRegion() { * * * string region = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1210,6 +1273,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * int32 page_size = 2; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -1222,6 +1287,9 @@ public int getPageSize() { * * * int32 page_size = 2; + * + * @param value The pageSize to set. + * @return This builder for chaining. */ public Builder setPageSize(int value) { @@ -1237,6 +1305,8 @@ public Builder setPageSize(int value) { * * * int32 page_size = 2; + * + * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1255,6 +1325,8 @@ public Builder clearPageSize() { * * * string page_token = 3; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -1276,6 +1348,8 @@ public java.lang.String getPageToken() { * * * string page_token = 3; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -1297,6 +1371,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * string page_token = 3; + * + * @param value The pageToken to set. + * @return This builder for chaining. */ public Builder setPageToken(java.lang.String value) { if (value == null) { @@ -1316,6 +1393,8 @@ public Builder setPageToken(java.lang.String value) { * * * string page_token = 3; + * + * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1332,6 +1411,9 @@ public Builder clearPageToken() { * * * string page_token = 3; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. */ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1354,6 +1436,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { * * * string cluster_name = 4; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -1375,6 +1459,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 4; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -1396,6 +1482,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 4; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -1415,6 +1504,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 4; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -1431,6 +1522,9 @@ public Builder clearClusterName() { * * * string cluster_name = 4; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1455,6 +1549,8 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1beta2.ListJobsRequest.JobStateMatcher job_state_matcher = 5; * + * + * @return The enum numeric value on the wire for jobStateMatcher. */ public int getJobStateMatcherValue() { return jobStateMatcher_; @@ -1470,6 +1566,9 @@ public int getJobStateMatcherValue() { * * .google.cloud.dataproc.v1beta2.ListJobsRequest.JobStateMatcher job_state_matcher = 5; * + * + * @param value The enum numeric value on the wire for jobStateMatcher to set. + * @return This builder for chaining. */ public Builder setJobStateMatcherValue(int value) { jobStateMatcher_ = value; @@ -1487,6 +1586,8 @@ public Builder setJobStateMatcherValue(int value) { * * .google.cloud.dataproc.v1beta2.ListJobsRequest.JobStateMatcher job_state_matcher = 5; * + * + * @return The jobStateMatcher. */ public com.google.cloud.dataproc.v1beta2.ListJobsRequest.JobStateMatcher getJobStateMatcher() { @SuppressWarnings("deprecation") @@ -1508,6 +1609,9 @@ public com.google.cloud.dataproc.v1beta2.ListJobsRequest.JobStateMatcher getJobS * * .google.cloud.dataproc.v1beta2.ListJobsRequest.JobStateMatcher job_state_matcher = 5; * + * + * @param value The jobStateMatcher to set. + * @return This builder for chaining. */ public Builder setJobStateMatcher( com.google.cloud.dataproc.v1beta2.ListJobsRequest.JobStateMatcher value) { @@ -1530,6 +1634,8 @@ public Builder setJobStateMatcher( * * .google.cloud.dataproc.v1beta2.ListJobsRequest.JobStateMatcher job_state_matcher = 5; * + * + * @return This builder for chaining. */ public Builder clearJobStateMatcher() { @@ -1556,6 +1662,8 @@ public Builder clearJobStateMatcher() { * * * string filter = 7; + * + * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; @@ -1585,6 +1693,8 @@ public java.lang.String getFilter() { * * * string filter = 7; + * + * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; @@ -1614,6 +1724,9 @@ public com.google.protobuf.ByteString getFilterBytes() { * * * string filter = 7; + * + * @param value The filter to set. + * @return This builder for chaining. */ public Builder setFilter(java.lang.String value) { if (value == null) { @@ -1641,6 +1754,8 @@ public Builder setFilter(java.lang.String value) { * * * string filter = 7; + * + * @return This builder for chaining. */ public Builder clearFilter() { @@ -1665,6 +1780,9 @@ public Builder clearFilter() { * * * string filter = 7; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. */ public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListJobsRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListJobsRequestOrBuilder.java index d684d865..a2aaac07 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListJobsRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListJobsRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface ListJobsRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface ListJobsRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface ListJobsRequestOrBuilder * * * string region = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface ListJobsRequestOrBuilder * * * string region = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface ListJobsRequestOrBuilder * * * int32 page_size = 2; + * + * @return The pageSize. */ int getPageSize(); @@ -87,6 +97,8 @@ public interface ListJobsRequestOrBuilder * * * string page_token = 3; + * + * @return The pageToken. */ java.lang.String getPageToken(); /** @@ -98,6 +110,8 @@ public interface ListJobsRequestOrBuilder * * * string page_token = 3; + * + * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); @@ -110,6 +124,8 @@ public interface ListJobsRequestOrBuilder * * * string cluster_name = 4; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -121,6 +137,8 @@ public interface ListJobsRequestOrBuilder * * * string cluster_name = 4; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); @@ -135,6 +153,8 @@ public interface ListJobsRequestOrBuilder * * .google.cloud.dataproc.v1beta2.ListJobsRequest.JobStateMatcher job_state_matcher = 5; * + * + * @return The enum numeric value on the wire for jobStateMatcher. */ int getJobStateMatcherValue(); /** @@ -148,6 +168,8 @@ public interface ListJobsRequestOrBuilder * * .google.cloud.dataproc.v1beta2.ListJobsRequest.JobStateMatcher job_state_matcher = 5; * + * + * @return The jobStateMatcher. */ com.google.cloud.dataproc.v1beta2.ListJobsRequest.JobStateMatcher getJobStateMatcher(); @@ -168,6 +190,8 @@ public interface ListJobsRequestOrBuilder * * * string filter = 7; + * + * @return The filter. */ java.lang.String getFilter(); /** @@ -187,6 +211,8 @@ public interface ListJobsRequestOrBuilder * * * string filter = 7; + * + * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListJobsResponse.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListJobsResponse.java index 56a8d068..a4612658 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListJobsResponse.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListJobsResponse.java @@ -42,6 +42,12 @@ private ListJobsResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListJobsResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -121,7 +127,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dataproc.v1beta2.ListJobsResponse.Builder.class); } - private int bitField0_; public static final int JOBS_FIELD_NUMBER = 1; private java.util.List jobs_; /** @@ -198,6 +203,8 @@ public com.google.cloud.dataproc.v1beta2.JobOrBuilder getJobsOrBuilder(int index * * * string next_page_token = 2; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -220,6 +227,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -486,7 +495,6 @@ public com.google.cloud.dataproc.v1beta2.ListJobsResponse buildPartial() { com.google.cloud.dataproc.v1beta2.ListJobsResponse result = new com.google.cloud.dataproc.v1beta2.ListJobsResponse(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (jobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { jobs_ = java.util.Collections.unmodifiableList(jobs_); @@ -497,7 +505,6 @@ public com.google.cloud.dataproc.v1beta2.ListJobsResponse buildPartial() { result.jobs_ = jobsBuilder_.build(); } result.nextPageToken_ = nextPageToken_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -970,6 +977,8 @@ public java.util.List getJobsBuil * * * string next_page_token = 2; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -992,6 +1001,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -1014,6 +1025,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { @@ -1034,6 +1048,8 @@ public Builder setNextPageToken(java.lang.String value) { * * * string next_page_token = 2; + * + * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1051,6 +1067,9 @@ public Builder clearNextPageToken() { * * * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListJobsResponseOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListJobsResponseOrBuilder.java index cfdc1eba..8ccd525e 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListJobsResponseOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListJobsResponseOrBuilder.java @@ -84,6 +84,8 @@ public interface ListJobsResponseOrBuilder * * * string next_page_token = 2; + * + * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** @@ -96,6 +98,8 @@ public interface ListJobsResponseOrBuilder * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListWorkflowTemplatesRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListWorkflowTemplatesRequest.java index 6b2c4cfd..a8800aa7 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListWorkflowTemplatesRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListWorkflowTemplatesRequest.java @@ -42,6 +42,12 @@ private ListWorkflowTemplatesRequest() { pageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListWorkflowTemplatesRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private ListWorkflowTemplatesRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -136,6 +141,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -163,6 +170,8 @@ public java.lang.String getParent() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -186,6 +195,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * int32 page_size = 2; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -202,6 +213,8 @@ public int getPageSize() { * * * string page_token = 3; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -223,6 +236,8 @@ public java.lang.String getPageToken() { * * * string page_token = 3; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -605,6 +620,8 @@ public Builder mergeFrom( * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -632,6 +649,8 @@ public java.lang.String getParent() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -659,6 +678,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -684,6 +706,8 @@ public Builder setParent(java.lang.String value) { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -706,6 +730,9 @@ public Builder clearParent() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -727,6 +754,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * * int32 page_size = 2; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -739,6 +768,9 @@ public int getPageSize() { * * * int32 page_size = 2; + * + * @param value The pageSize to set. + * @return This builder for chaining. */ public Builder setPageSize(int value) { @@ -754,6 +786,8 @@ public Builder setPageSize(int value) { * * * int32 page_size = 2; + * + * @return This builder for chaining. */ public Builder clearPageSize() { @@ -772,6 +806,8 @@ public Builder clearPageSize() { * * * string page_token = 3; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -793,6 +829,8 @@ public java.lang.String getPageToken() { * * * string page_token = 3; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -814,6 +852,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * string page_token = 3; + * + * @param value The pageToken to set. + * @return This builder for chaining. */ public Builder setPageToken(java.lang.String value) { if (value == null) { @@ -833,6 +874,8 @@ public Builder setPageToken(java.lang.String value) { * * * string page_token = 3; + * + * @return This builder for chaining. */ public Builder clearPageToken() { @@ -849,6 +892,9 @@ public Builder clearPageToken() { * * * string page_token = 3; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. */ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListWorkflowTemplatesRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListWorkflowTemplatesRequestOrBuilder.java index 2f40cf24..6983f9be 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListWorkflowTemplatesRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListWorkflowTemplatesRequestOrBuilder.java @@ -38,6 +38,8 @@ public interface ListWorkflowTemplatesRequestOrBuilder * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. */ java.lang.String getParent(); /** @@ -55,6 +57,8 @@ public interface ListWorkflowTemplatesRequestOrBuilder * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -66,6 +70,8 @@ public interface ListWorkflowTemplatesRequestOrBuilder * * * int32 page_size = 2; + * + * @return The pageSize. */ int getPageSize(); @@ -78,6 +84,8 @@ public interface ListWorkflowTemplatesRequestOrBuilder * * * string page_token = 3; + * + * @return The pageToken. */ java.lang.String getPageToken(); /** @@ -89,6 +97,8 @@ public interface ListWorkflowTemplatesRequestOrBuilder * * * string page_token = 3; + * + * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListWorkflowTemplatesResponse.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListWorkflowTemplatesResponse.java index 0a161f5a..0e8b219c 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListWorkflowTemplatesResponse.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListWorkflowTemplatesResponse.java @@ -42,6 +42,12 @@ private ListWorkflowTemplatesResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListWorkflowTemplatesResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -123,7 +129,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dataproc.v1beta2.ListWorkflowTemplatesResponse.Builder.class); } - private int bitField0_; public static final int TEMPLATES_FIELD_NUMBER = 1; private java.util.List templates_; /** @@ -211,6 +216,8 @@ public com.google.cloud.dataproc.v1beta2.WorkflowTemplateOrBuilder getTemplatesO * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -233,6 +240,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -501,7 +510,6 @@ public com.google.cloud.dataproc.v1beta2.ListWorkflowTemplatesResponse buildPart com.google.cloud.dataproc.v1beta2.ListWorkflowTemplatesResponse result = new com.google.cloud.dataproc.v1beta2.ListWorkflowTemplatesResponse(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (templatesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { templates_ = java.util.Collections.unmodifiableList(templates_); @@ -512,7 +520,6 @@ public com.google.cloud.dataproc.v1beta2.ListWorkflowTemplatesResponse buildPart result.templates_ = templatesBuilder_.build(); } result.nextPageToken_ = nextPageToken_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1033,6 +1040,8 @@ public com.google.cloud.dataproc.v1beta2.WorkflowTemplate.Builder addTemplatesBu * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -1055,6 +1064,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -1077,6 +1088,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { @@ -1097,6 +1111,8 @@ public Builder setNextPageToken(java.lang.String value) { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1114,6 +1130,9 @@ public Builder clearNextPageToken() { * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListWorkflowTemplatesResponseOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListWorkflowTemplatesResponseOrBuilder.java index 8f509736..a5a1663b 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListWorkflowTemplatesResponseOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ListWorkflowTemplatesResponseOrBuilder.java @@ -95,6 +95,8 @@ public interface ListWorkflowTemplatesResponseOrBuilder * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** @@ -107,6 +109,8 @@ public interface ListWorkflowTemplatesResponseOrBuilder * * * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/LoggingConfig.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/LoggingConfig.java index 499f9e8c..787345b5 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/LoggingConfig.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/LoggingConfig.java @@ -39,6 +39,12 @@ private LoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) private LoggingConfig() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LoggingConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -329,12 +335,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static Level valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static Level forNumber(int value) { switch (value) { case 0: diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ManagedCluster.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ManagedCluster.java index 534da6d8..548ddf84 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ManagedCluster.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ManagedCluster.java @@ -41,6 +41,12 @@ private ManagedCluster() { clusterName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ManagedCluster(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -90,10 +96,10 @@ private ManagedCluster( } case 34: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( @@ -146,7 +152,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1beta2.ManagedCluster.Builder.class); } - private int bitField0_; public static final int CLUSTER_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object clusterName_; /** @@ -161,6 +166,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * string cluster_name = 2; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -185,6 +192,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -208,6 +217,8 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * .google.cloud.dataproc.v1beta2.ClusterConfig config = 3; + * + * @return Whether the config field is set. */ public boolean hasConfig() { return config_ != null; @@ -220,6 +231,8 @@ public boolean hasConfig() { * * * .google.cloud.dataproc.v1beta2.ClusterConfig config = 3; + * + * @return The config. */ public com.google.cloud.dataproc.v1beta2.ClusterConfig getConfig() { return config_ == null @@ -648,7 +661,6 @@ public com.google.cloud.dataproc.v1beta2.ManagedCluster buildPartial() { com.google.cloud.dataproc.v1beta2.ManagedCluster result = new com.google.cloud.dataproc.v1beta2.ManagedCluster(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.clusterName_ = clusterName_; if (configBuilder_ == null) { result.config_ = config_; @@ -657,7 +669,6 @@ public com.google.cloud.dataproc.v1beta2.ManagedCluster buildPartial() { } result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -760,6 +771,8 @@ public Builder mergeFrom( * * * string cluster_name = 2; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -784,6 +797,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -808,6 +823,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 2; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -830,6 +848,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 2; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -849,6 +869,9 @@ public Builder clearClusterName() { * * * string cluster_name = 2; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -875,6 +898,8 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dataproc.v1beta2.ClusterConfig config = 3; + * + * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; @@ -887,6 +912,8 @@ public boolean hasConfig() { * * * .google.cloud.dataproc.v1beta2.ClusterConfig config = 3; + * + * @return The config. */ public com.google.cloud.dataproc.v1beta2.ClusterConfig getConfig() { if (configBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ManagedClusterOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ManagedClusterOrBuilder.java index f95420da..b2f65927 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ManagedClusterOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ManagedClusterOrBuilder.java @@ -35,6 +35,8 @@ public interface ManagedClusterOrBuilder * * * string cluster_name = 2; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -49,6 +51,8 @@ public interface ManagedClusterOrBuilder * * * string cluster_name = 2; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); @@ -60,6 +64,8 @@ public interface ManagedClusterOrBuilder * * * .google.cloud.dataproc.v1beta2.ClusterConfig config = 3; + * + * @return Whether the config field is set. */ boolean hasConfig(); /** @@ -70,6 +76,8 @@ public interface ManagedClusterOrBuilder * * * .google.cloud.dataproc.v1beta2.ClusterConfig config = 3; + * + * @return The config. */ com.google.cloud.dataproc.v1beta2.ClusterConfig getConfig(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ManagedGroupConfig.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ManagedGroupConfig.java index 8d1dd18a..53702e60 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ManagedGroupConfig.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ManagedGroupConfig.java @@ -42,6 +42,12 @@ private ManagedGroupConfig() { instanceGroupManagerName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ManagedGroupConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private ManagedGroupConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -125,6 +130,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The instanceTemplateName. */ public java.lang.String getInstanceTemplateName() { java.lang.Object ref = instanceTemplateName_; @@ -146,6 +153,8 @@ public java.lang.String getInstanceTemplateName() { * * * string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for instanceTemplateName. */ public com.google.protobuf.ByteString getInstanceTemplateNameBytes() { java.lang.Object ref = instanceTemplateName_; @@ -170,6 +179,8 @@ public com.google.protobuf.ByteString getInstanceTemplateNameBytes() { * * string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The instanceGroupManagerName. */ public java.lang.String getInstanceGroupManagerName() { java.lang.Object ref = instanceGroupManagerName_; @@ -191,6 +202,8 @@ public java.lang.String getInstanceGroupManagerName() { * * string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The bytes for instanceGroupManagerName. */ public com.google.protobuf.ByteString getInstanceGroupManagerNameBytes() { java.lang.Object ref = instanceGroupManagerName_; @@ -549,6 +562,8 @@ public Builder mergeFrom( * * * string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The instanceTemplateName. */ public java.lang.String getInstanceTemplateName() { java.lang.Object ref = instanceTemplateName_; @@ -570,6 +585,8 @@ public java.lang.String getInstanceTemplateName() { * * * string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for instanceTemplateName. */ public com.google.protobuf.ByteString getInstanceTemplateNameBytes() { java.lang.Object ref = instanceTemplateName_; @@ -591,6 +608,9 @@ public com.google.protobuf.ByteString getInstanceTemplateNameBytes() { * * * string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The instanceTemplateName to set. + * @return This builder for chaining. */ public Builder setInstanceTemplateName(java.lang.String value) { if (value == null) { @@ -610,6 +630,8 @@ public Builder setInstanceTemplateName(java.lang.String value) { * * * string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearInstanceTemplateName() { @@ -626,6 +648,9 @@ public Builder clearInstanceTemplateName() { * * * string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for instanceTemplateName to set. + * @return This builder for chaining. */ public Builder setInstanceTemplateNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -648,6 +673,8 @@ public Builder setInstanceTemplateNameBytes(com.google.protobuf.ByteString value * * string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The instanceGroupManagerName. */ public java.lang.String getInstanceGroupManagerName() { java.lang.Object ref = instanceGroupManagerName_; @@ -669,6 +696,8 @@ public java.lang.String getInstanceGroupManagerName() { * * string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The bytes for instanceGroupManagerName. */ public com.google.protobuf.ByteString getInstanceGroupManagerNameBytes() { java.lang.Object ref = instanceGroupManagerName_; @@ -690,6 +719,9 @@ public com.google.protobuf.ByteString getInstanceGroupManagerNameBytes() { * * string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The instanceGroupManagerName to set. + * @return This builder for chaining. */ public Builder setInstanceGroupManagerName(java.lang.String value) { if (value == null) { @@ -709,6 +741,8 @@ public Builder setInstanceGroupManagerName(java.lang.String value) { * * string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ public Builder clearInstanceGroupManagerName() { @@ -725,6 +759,9 @@ public Builder clearInstanceGroupManagerName() { * * string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The bytes for instanceGroupManagerName to set. + * @return This builder for chaining. */ public Builder setInstanceGroupManagerNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ManagedGroupConfigOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ManagedGroupConfigOrBuilder.java index 6cbea603..a5c04a56 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ManagedGroupConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ManagedGroupConfigOrBuilder.java @@ -32,6 +32,8 @@ public interface ManagedGroupConfigOrBuilder * * * string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The instanceTemplateName. */ java.lang.String getInstanceTemplateName(); /** @@ -43,6 +45,8 @@ public interface ManagedGroupConfigOrBuilder * * * string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for instanceTemplateName. */ com.google.protobuf.ByteString getInstanceTemplateNameBytes(); @@ -55,6 +59,8 @@ public interface ManagedGroupConfigOrBuilder * * string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The instanceGroupManagerName. */ java.lang.String getInstanceGroupManagerName(); /** @@ -66,6 +72,8 @@ public interface ManagedGroupConfigOrBuilder * * string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The bytes for instanceGroupManagerName. */ com.google.protobuf.ByteString getInstanceGroupManagerNameBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/NodeInitializationAction.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/NodeInitializationAction.java index dc1d4a21..eaf581d2 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/NodeInitializationAction.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/NodeInitializationAction.java @@ -42,6 +42,12 @@ private NodeInitializationAction() { executableFile_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NodeInitializationAction(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private NodeInitializationAction( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -132,6 +137,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string executable_file = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The executableFile. */ public java.lang.String getExecutableFile() { java.lang.Object ref = executableFile_; @@ -152,6 +159,8 @@ public java.lang.String getExecutableFile() { * * * string executable_file = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for executableFile. */ public com.google.protobuf.ByteString getExecutableFileBytes() { java.lang.Object ref = executableFile_; @@ -180,6 +189,8 @@ public com.google.protobuf.ByteString getExecutableFileBytes() { * * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the executionTimeout field is set. */ public boolean hasExecutionTimeout() { return executionTimeout_ != null; @@ -197,6 +208,8 @@ public boolean hasExecutionTimeout() { * * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The executionTimeout. */ public com.google.protobuf.Duration getExecutionTimeout() { return executionTimeout_ == null @@ -578,6 +591,8 @@ public Builder mergeFrom( * * * string executable_file = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The executableFile. */ public java.lang.String getExecutableFile() { java.lang.Object ref = executableFile_; @@ -598,6 +613,8 @@ public java.lang.String getExecutableFile() { * * * string executable_file = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for executableFile. */ public com.google.protobuf.ByteString getExecutableFileBytes() { java.lang.Object ref = executableFile_; @@ -618,6 +635,9 @@ public com.google.protobuf.ByteString getExecutableFileBytes() { * * * string executable_file = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The executableFile to set. + * @return This builder for chaining. */ public Builder setExecutableFile(java.lang.String value) { if (value == null) { @@ -636,6 +656,8 @@ public Builder setExecutableFile(java.lang.String value) { * * * string executable_file = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearExecutableFile() { @@ -651,6 +673,9 @@ public Builder clearExecutableFile() { * * * string executable_file = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for executableFile to set. + * @return This builder for chaining. */ public Builder setExecutableFileBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -682,6 +707,8 @@ public Builder setExecutableFileBytes(com.google.protobuf.ByteString value) { * * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the executionTimeout field is set. */ public boolean hasExecutionTimeout() { return executionTimeoutBuilder_ != null || executionTimeout_ != null; @@ -699,6 +726,8 @@ public boolean hasExecutionTimeout() { * * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The executionTimeout. */ public com.google.protobuf.Duration getExecutionTimeout() { if (executionTimeoutBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/NodeInitializationActionOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/NodeInitializationActionOrBuilder.java index b9c32ae8..744d2037 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/NodeInitializationActionOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/NodeInitializationActionOrBuilder.java @@ -31,6 +31,8 @@ public interface NodeInitializationActionOrBuilder * * * string executable_file = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The executableFile. */ java.lang.String getExecutableFile(); /** @@ -41,6 +43,8 @@ public interface NodeInitializationActionOrBuilder * * * string executable_file = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for executableFile. */ com.google.protobuf.ByteString getExecutableFileBytes(); @@ -57,6 +61,8 @@ public interface NodeInitializationActionOrBuilder * * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the executionTimeout field is set. */ boolean hasExecutionTimeout(); /** @@ -72,6 +78,8 @@ public interface NodeInitializationActionOrBuilder * * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The executionTimeout. */ com.google.protobuf.Duration getExecutionTimeout(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/OperationsProto.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/OperationsProto.java index 67df4d2d..6a16c357 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/OperationsProto.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/OperationsProto.java @@ -73,21 +73,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "lang.org/genproto/googleapis/cloud/datap" + "roc/v1beta2;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.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); internal_static_google_cloud_dataproc_v1beta2_ClusterOperationStatus_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_dataproc_v1beta2_ClusterOperationStatus_fieldAccessorTable = diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/OrderedJob.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/OrderedJob.java index 0711efb0..0abb3f18 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/OrderedJob.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/OrderedJob.java @@ -42,6 +42,12 @@ private OrderedJob() { prerequisiteStepIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new OrderedJob(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -171,10 +177,10 @@ private OrderedJob( } case 66: { - if (!((mutable_bitField0_ & 0x00000080) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000080; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( @@ -201,9 +207,9 @@ private OrderedJob( case 82: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000200) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { prerequisiteStepIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000200; + mutable_bitField0_ |= 0x00000002; } prerequisiteStepIds_.add(s); break; @@ -222,7 +228,7 @@ private OrderedJob( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000200) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { prerequisiteStepIds_ = prerequisiteStepIds_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -256,11 +262,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1beta2.OrderedJob.Builder.class); } - private int bitField0_; private int jobTypeCase_ = 0; private java.lang.Object jobType_; - public enum JobTypeCase implements com.google.protobuf.Internal.EnumLite { + public enum JobTypeCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { HADOOP_JOB(2), SPARK_JOB(3), PYSPARK_JOB(4), @@ -273,7 +281,11 @@ public enum JobTypeCase implements com.google.protobuf.Internal.EnumLite { private JobTypeCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static JobTypeCase valueOf(int value) { return forNumber(value); @@ -327,6 +339,8 @@ public JobTypeCase getJobTypeCase() { * * * string step_id = 1; + * + * @return The stepId. */ public java.lang.String getStepId() { java.lang.Object ref = stepId_; @@ -355,6 +369,8 @@ public java.lang.String getStepId() { * * * string step_id = 1; + * + * @return The bytes for stepId. */ public com.google.protobuf.ByteString getStepIdBytes() { java.lang.Object ref = stepId_; @@ -377,6 +393,8 @@ public com.google.protobuf.ByteString getStepIdBytes() { * * * .google.cloud.dataproc.v1beta2.HadoopJob hadoop_job = 2; + * + * @return Whether the hadoopJob field is set. */ public boolean hasHadoopJob() { return jobTypeCase_ == 2; @@ -389,6 +407,8 @@ public boolean hasHadoopJob() { * * * .google.cloud.dataproc.v1beta2.HadoopJob hadoop_job = 2; + * + * @return The hadoopJob. */ public com.google.cloud.dataproc.v1beta2.HadoopJob getHadoopJob() { if (jobTypeCase_ == 2) { @@ -421,6 +441,8 @@ public com.google.cloud.dataproc.v1beta2.HadoopJobOrBuilder getHadoopJobOrBuilde * * * .google.cloud.dataproc.v1beta2.SparkJob spark_job = 3; + * + * @return Whether the sparkJob field is set. */ public boolean hasSparkJob() { return jobTypeCase_ == 3; @@ -433,6 +455,8 @@ public boolean hasSparkJob() { * * * .google.cloud.dataproc.v1beta2.SparkJob spark_job = 3; + * + * @return The sparkJob. */ public com.google.cloud.dataproc.v1beta2.SparkJob getSparkJob() { if (jobTypeCase_ == 3) { @@ -465,6 +489,8 @@ public com.google.cloud.dataproc.v1beta2.SparkJobOrBuilder getSparkJobOrBuilder( * * * .google.cloud.dataproc.v1beta2.PySparkJob pyspark_job = 4; + * + * @return Whether the pysparkJob field is set. */ public boolean hasPysparkJob() { return jobTypeCase_ == 4; @@ -477,6 +503,8 @@ public boolean hasPysparkJob() { * * * .google.cloud.dataproc.v1beta2.PySparkJob pyspark_job = 4; + * + * @return The pysparkJob. */ public com.google.cloud.dataproc.v1beta2.PySparkJob getPysparkJob() { if (jobTypeCase_ == 4) { @@ -509,6 +537,8 @@ public com.google.cloud.dataproc.v1beta2.PySparkJobOrBuilder getPysparkJobOrBuil * * * .google.cloud.dataproc.v1beta2.HiveJob hive_job = 5; + * + * @return Whether the hiveJob field is set. */ public boolean hasHiveJob() { return jobTypeCase_ == 5; @@ -521,6 +551,8 @@ public boolean hasHiveJob() { * * * .google.cloud.dataproc.v1beta2.HiveJob hive_job = 5; + * + * @return The hiveJob. */ public com.google.cloud.dataproc.v1beta2.HiveJob getHiveJob() { if (jobTypeCase_ == 5) { @@ -553,6 +585,8 @@ public com.google.cloud.dataproc.v1beta2.HiveJobOrBuilder getHiveJobOrBuilder() * * * .google.cloud.dataproc.v1beta2.PigJob pig_job = 6; + * + * @return Whether the pigJob field is set. */ public boolean hasPigJob() { return jobTypeCase_ == 6; @@ -565,6 +599,8 @@ public boolean hasPigJob() { * * * .google.cloud.dataproc.v1beta2.PigJob pig_job = 6; + * + * @return The pigJob. */ public com.google.cloud.dataproc.v1beta2.PigJob getPigJob() { if (jobTypeCase_ == 6) { @@ -597,6 +633,8 @@ public com.google.cloud.dataproc.v1beta2.PigJobOrBuilder getPigJobOrBuilder() { * * * .google.cloud.dataproc.v1beta2.SparkSqlJob spark_sql_job = 7; + * + * @return Whether the sparkSqlJob field is set. */ public boolean hasSparkSqlJob() { return jobTypeCase_ == 7; @@ -609,6 +647,8 @@ public boolean hasSparkSqlJob() { * * * .google.cloud.dataproc.v1beta2.SparkSqlJob spark_sql_job = 7; + * + * @return The sparkSqlJob. */ public com.google.cloud.dataproc.v1beta2.SparkSqlJob getSparkSqlJob() { if (jobTypeCase_ == 7) { @@ -759,6 +799,8 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { * * * .google.cloud.dataproc.v1beta2.JobScheduling scheduling = 9; + * + * @return Whether the scheduling field is set. */ public boolean hasScheduling() { return scheduling_ != null; @@ -771,6 +813,8 @@ public boolean hasScheduling() { * * * .google.cloud.dataproc.v1beta2.JobScheduling scheduling = 9; + * + * @return The scheduling. */ public com.google.cloud.dataproc.v1beta2.JobScheduling getScheduling() { return scheduling_ == null @@ -801,6 +845,8 @@ public com.google.cloud.dataproc.v1beta2.JobSchedulingOrBuilder getSchedulingOrB * * * repeated string prerequisite_step_ids = 10; + * + * @return A list containing the prerequisiteStepIds. */ public com.google.protobuf.ProtocolStringList getPrerequisiteStepIdsList() { return prerequisiteStepIds_; @@ -814,6 +860,8 @@ public com.google.protobuf.ProtocolStringList getPrerequisiteStepIdsList() { * * * repeated string prerequisite_step_ids = 10; + * + * @return The count of prerequisiteStepIds. */ public int getPrerequisiteStepIdsCount() { return prerequisiteStepIds_.size(); @@ -827,6 +875,9 @@ public int getPrerequisiteStepIdsCount() { * * * repeated string prerequisite_step_ids = 10; + * + * @param index The index of the element to return. + * @return The prerequisiteStepIds at the given index. */ public java.lang.String getPrerequisiteStepIds(int index) { return prerequisiteStepIds_.get(index); @@ -840,6 +891,9 @@ public java.lang.String getPrerequisiteStepIds(int index) { * * * repeated string prerequisite_step_ids = 10; + * + * @param index The index of the value to return. + * @return The bytes of the prerequisiteStepIds at the given index. */ public com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index) { return prerequisiteStepIds_.getByteString(index); @@ -1226,7 +1280,7 @@ public Builder clear() { schedulingBuilder_ = null; } prerequisiteStepIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000002); jobTypeCase_ = 0; jobType_ = null; return this; @@ -1257,7 +1311,6 @@ public com.google.cloud.dataproc.v1beta2.OrderedJob buildPartial() { com.google.cloud.dataproc.v1beta2.OrderedJob result = new com.google.cloud.dataproc.v1beta2.OrderedJob(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.stepId_ = stepId_; if (jobTypeCase_ == 2) { if (hadoopJobBuilder_ == null) { @@ -1308,12 +1361,11 @@ public com.google.cloud.dataproc.v1beta2.OrderedJob buildPartial() { } else { result.scheduling_ = schedulingBuilder_.build(); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { prerequisiteStepIds_ = prerequisiteStepIds_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000002); } result.prerequisiteStepIds_ = prerequisiteStepIds_; - result.bitField0_ = to_bitField0_; result.jobTypeCase_ = jobTypeCase_; onBuilt(); return result; @@ -1375,7 +1427,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.OrderedJob other) { if (!other.prerequisiteStepIds_.isEmpty()) { if (prerequisiteStepIds_.isEmpty()) { prerequisiteStepIds_ = other.prerequisiteStepIds_; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensurePrerequisiteStepIdsIsMutable(); prerequisiteStepIds_.addAll(other.prerequisiteStepIds_); @@ -1480,6 +1532,8 @@ public Builder clearJobType() { * * * string step_id = 1; + * + * @return The stepId. */ public java.lang.String getStepId() { java.lang.Object ref = stepId_; @@ -1508,6 +1562,8 @@ public java.lang.String getStepId() { * * * string step_id = 1; + * + * @return The bytes for stepId. */ public com.google.protobuf.ByteString getStepIdBytes() { java.lang.Object ref = stepId_; @@ -1536,6 +1592,9 @@ public com.google.protobuf.ByteString getStepIdBytes() { * * * string step_id = 1; + * + * @param value The stepId to set. + * @return This builder for chaining. */ public Builder setStepId(java.lang.String value) { if (value == null) { @@ -1562,6 +1621,8 @@ public Builder setStepId(java.lang.String value) { * * * string step_id = 1; + * + * @return This builder for chaining. */ public Builder clearStepId() { @@ -1585,6 +1646,9 @@ public Builder clearStepId() { * * * string step_id = 1; + * + * @param value The bytes for stepId to set. + * @return This builder for chaining. */ public Builder setStepIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1610,6 +1674,8 @@ public Builder setStepIdBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dataproc.v1beta2.HadoopJob hadoop_job = 2; + * + * @return Whether the hadoopJob field is set. */ public boolean hasHadoopJob() { return jobTypeCase_ == 2; @@ -1622,6 +1688,8 @@ public boolean hasHadoopJob() { * * * .google.cloud.dataproc.v1beta2.HadoopJob hadoop_job = 2; + * + * @return The hadoopJob. */ public com.google.cloud.dataproc.v1beta2.HadoopJob getHadoopJob() { if (hadoopJobBuilder_ == null) { @@ -1812,6 +1880,8 @@ public com.google.cloud.dataproc.v1beta2.HadoopJobOrBuilder getHadoopJobOrBuilde * * * .google.cloud.dataproc.v1beta2.SparkJob spark_job = 3; + * + * @return Whether the sparkJob field is set. */ public boolean hasSparkJob() { return jobTypeCase_ == 3; @@ -1824,6 +1894,8 @@ public boolean hasSparkJob() { * * * .google.cloud.dataproc.v1beta2.SparkJob spark_job = 3; + * + * @return The sparkJob. */ public com.google.cloud.dataproc.v1beta2.SparkJob getSparkJob() { if (sparkJobBuilder_ == null) { @@ -2013,6 +2085,8 @@ public com.google.cloud.dataproc.v1beta2.SparkJobOrBuilder getSparkJobOrBuilder( * * * .google.cloud.dataproc.v1beta2.PySparkJob pyspark_job = 4; + * + * @return Whether the pysparkJob field is set. */ public boolean hasPysparkJob() { return jobTypeCase_ == 4; @@ -2025,6 +2099,8 @@ public boolean hasPysparkJob() { * * * .google.cloud.dataproc.v1beta2.PySparkJob pyspark_job = 4; + * + * @return The pysparkJob. */ public com.google.cloud.dataproc.v1beta2.PySparkJob getPysparkJob() { if (pysparkJobBuilder_ == null) { @@ -2215,6 +2291,8 @@ public com.google.cloud.dataproc.v1beta2.PySparkJobOrBuilder getPysparkJobOrBuil * * * .google.cloud.dataproc.v1beta2.HiveJob hive_job = 5; + * + * @return Whether the hiveJob field is set. */ public boolean hasHiveJob() { return jobTypeCase_ == 5; @@ -2227,6 +2305,8 @@ public boolean hasHiveJob() { * * * .google.cloud.dataproc.v1beta2.HiveJob hive_job = 5; + * + * @return The hiveJob. */ public com.google.cloud.dataproc.v1beta2.HiveJob getHiveJob() { if (hiveJobBuilder_ == null) { @@ -2416,6 +2496,8 @@ public com.google.cloud.dataproc.v1beta2.HiveJobOrBuilder getHiveJobOrBuilder() * * * .google.cloud.dataproc.v1beta2.PigJob pig_job = 6; + * + * @return Whether the pigJob field is set. */ public boolean hasPigJob() { return jobTypeCase_ == 6; @@ -2428,6 +2510,8 @@ public boolean hasPigJob() { * * * .google.cloud.dataproc.v1beta2.PigJob pig_job = 6; + * + * @return The pigJob. */ public com.google.cloud.dataproc.v1beta2.PigJob getPigJob() { if (pigJobBuilder_ == null) { @@ -2617,6 +2701,8 @@ public com.google.cloud.dataproc.v1beta2.PigJobOrBuilder getPigJobOrBuilder() { * * * .google.cloud.dataproc.v1beta2.SparkSqlJob spark_sql_job = 7; + * + * @return Whether the sparkSqlJob field is set. */ public boolean hasSparkSqlJob() { return jobTypeCase_ == 7; @@ -2629,6 +2715,8 @@ public boolean hasSparkSqlJob() { * * * .google.cloud.dataproc.v1beta2.SparkSqlJob spark_sql_job = 7; + * + * @return The sparkSqlJob. */ public com.google.cloud.dataproc.v1beta2.SparkSqlJob getSparkSqlJob() { if (sparkSqlJobBuilder_ == null) { @@ -3014,6 +3102,8 @@ public Builder putAllLabels(java.util.Map va * * * .google.cloud.dataproc.v1beta2.JobScheduling scheduling = 9; + * + * @return Whether the scheduling field is set. */ public boolean hasScheduling() { return schedulingBuilder_ != null || scheduling_ != null; @@ -3026,6 +3116,8 @@ public boolean hasScheduling() { * * * .google.cloud.dataproc.v1beta2.JobScheduling scheduling = 9; + * + * @return The scheduling. */ public com.google.cloud.dataproc.v1beta2.JobScheduling getScheduling() { if (schedulingBuilder_ == null) { @@ -3186,9 +3278,9 @@ public com.google.cloud.dataproc.v1beta2.JobSchedulingOrBuilder getSchedulingOrB com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePrerequisiteStepIdsIsMutable() { - if (!((bitField0_ & 0x00000200) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { prerequisiteStepIds_ = new com.google.protobuf.LazyStringArrayList(prerequisiteStepIds_); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000002; } } /** @@ -3200,6 +3292,8 @@ private void ensurePrerequisiteStepIdsIsMutable() { * * * repeated string prerequisite_step_ids = 10; + * + * @return A list containing the prerequisiteStepIds. */ public com.google.protobuf.ProtocolStringList getPrerequisiteStepIdsList() { return prerequisiteStepIds_.getUnmodifiableView(); @@ -3213,6 +3307,8 @@ public com.google.protobuf.ProtocolStringList getPrerequisiteStepIdsList() { * * * repeated string prerequisite_step_ids = 10; + * + * @return The count of prerequisiteStepIds. */ public int getPrerequisiteStepIdsCount() { return prerequisiteStepIds_.size(); @@ -3226,6 +3322,9 @@ public int getPrerequisiteStepIdsCount() { * * * repeated string prerequisite_step_ids = 10; + * + * @param index The index of the element to return. + * @return The prerequisiteStepIds at the given index. */ public java.lang.String getPrerequisiteStepIds(int index) { return prerequisiteStepIds_.get(index); @@ -3239,6 +3338,9 @@ public java.lang.String getPrerequisiteStepIds(int index) { * * * repeated string prerequisite_step_ids = 10; + * + * @param index The index of the value to return. + * @return The bytes of the prerequisiteStepIds at the given index. */ public com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index) { return prerequisiteStepIds_.getByteString(index); @@ -3252,6 +3354,10 @@ public com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index) { * * * repeated string prerequisite_step_ids = 10; + * + * @param index The index to set the value at. + * @param value The prerequisiteStepIds to set. + * @return This builder for chaining. */ public Builder setPrerequisiteStepIds(int index, java.lang.String value) { if (value == null) { @@ -3271,6 +3377,9 @@ public Builder setPrerequisiteStepIds(int index, java.lang.String value) { * * * repeated string prerequisite_step_ids = 10; + * + * @param value The prerequisiteStepIds to add. + * @return This builder for chaining. */ public Builder addPrerequisiteStepIds(java.lang.String value) { if (value == null) { @@ -3290,6 +3399,9 @@ public Builder addPrerequisiteStepIds(java.lang.String value) { * * * repeated string prerequisite_step_ids = 10; + * + * @param values The prerequisiteStepIds to add. + * @return This builder for chaining. */ public Builder addAllPrerequisiteStepIds(java.lang.Iterable values) { ensurePrerequisiteStepIdsIsMutable(); @@ -3306,10 +3418,12 @@ public Builder addAllPrerequisiteStepIds(java.lang.Iterable va * * * repeated string prerequisite_step_ids = 10; + * + * @return This builder for chaining. */ public Builder clearPrerequisiteStepIds() { prerequisiteStepIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -3322,6 +3436,9 @@ public Builder clearPrerequisiteStepIds() { * * * repeated string prerequisite_step_ids = 10; + * + * @param value The bytes of the prerequisiteStepIds to add. + * @return This builder for chaining. */ public Builder addPrerequisiteStepIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/OrderedJobOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/OrderedJobOrBuilder.java index 4c9a8619..9883054b 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/OrderedJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/OrderedJobOrBuilder.java @@ -39,6 +39,8 @@ public interface OrderedJobOrBuilder * * * string step_id = 1; + * + * @return The stepId. */ java.lang.String getStepId(); /** @@ -57,6 +59,8 @@ public interface OrderedJobOrBuilder * * * string step_id = 1; + * + * @return The bytes for stepId. */ com.google.protobuf.ByteString getStepIdBytes(); @@ -68,6 +72,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1beta2.HadoopJob hadoop_job = 2; + * + * @return Whether the hadoopJob field is set. */ boolean hasHadoopJob(); /** @@ -78,6 +84,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1beta2.HadoopJob hadoop_job = 2; + * + * @return The hadoopJob. */ com.google.cloud.dataproc.v1beta2.HadoopJob getHadoopJob(); /** @@ -99,6 +107,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1beta2.SparkJob spark_job = 3; + * + * @return Whether the sparkJob field is set. */ boolean hasSparkJob(); /** @@ -109,6 +119,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1beta2.SparkJob spark_job = 3; + * + * @return The sparkJob. */ com.google.cloud.dataproc.v1beta2.SparkJob getSparkJob(); /** @@ -130,6 +142,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1beta2.PySparkJob pyspark_job = 4; + * + * @return Whether the pysparkJob field is set. */ boolean hasPysparkJob(); /** @@ -140,6 +154,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1beta2.PySparkJob pyspark_job = 4; + * + * @return The pysparkJob. */ com.google.cloud.dataproc.v1beta2.PySparkJob getPysparkJob(); /** @@ -161,6 +177,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1beta2.HiveJob hive_job = 5; + * + * @return Whether the hiveJob field is set. */ boolean hasHiveJob(); /** @@ -171,6 +189,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1beta2.HiveJob hive_job = 5; + * + * @return The hiveJob. */ com.google.cloud.dataproc.v1beta2.HiveJob getHiveJob(); /** @@ -192,6 +212,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1beta2.PigJob pig_job = 6; + * + * @return Whether the pigJob field is set. */ boolean hasPigJob(); /** @@ -202,6 +224,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1beta2.PigJob pig_job = 6; + * + * @return The pigJob. */ com.google.cloud.dataproc.v1beta2.PigJob getPigJob(); /** @@ -223,6 +247,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1beta2.SparkSqlJob spark_sql_job = 7; + * + * @return Whether the sparkSqlJob field is set. */ boolean hasSparkSqlJob(); /** @@ -233,6 +259,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1beta2.SparkSqlJob spark_sql_job = 7; + * + * @return The sparkSqlJob. */ com.google.cloud.dataproc.v1beta2.SparkSqlJob getSparkSqlJob(); /** @@ -338,6 +366,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1beta2.JobScheduling scheduling = 9; + * + * @return Whether the scheduling field is set. */ boolean hasScheduling(); /** @@ -348,6 +378,8 @@ public interface OrderedJobOrBuilder * * * .google.cloud.dataproc.v1beta2.JobScheduling scheduling = 9; + * + * @return The scheduling. */ com.google.cloud.dataproc.v1beta2.JobScheduling getScheduling(); /** @@ -370,6 +402,8 @@ public interface OrderedJobOrBuilder * * * repeated string prerequisite_step_ids = 10; + * + * @return A list containing the prerequisiteStepIds. */ java.util.List getPrerequisiteStepIdsList(); /** @@ -381,6 +415,8 @@ public interface OrderedJobOrBuilder * * * repeated string prerequisite_step_ids = 10; + * + * @return The count of prerequisiteStepIds. */ int getPrerequisiteStepIdsCount(); /** @@ -392,6 +428,9 @@ public interface OrderedJobOrBuilder * * * repeated string prerequisite_step_ids = 10; + * + * @param index The index of the element to return. + * @return The prerequisiteStepIds at the given index. */ java.lang.String getPrerequisiteStepIds(int index); /** @@ -403,6 +442,9 @@ public interface OrderedJobOrBuilder * * * repeated string prerequisite_step_ids = 10; + * + * @param index The index of the value to return. + * @return The bytes of the prerequisiteStepIds at the given index. */ com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index); diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ParameterValidation.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ParameterValidation.java index ef043291..7daa7641 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ParameterValidation.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ParameterValidation.java @@ -39,6 +39,12 @@ private ParameterValidation(com.google.protobuf.GeneratedMessageV3.Builder bu private ParameterValidation() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ParameterValidation(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private ParameterValidation( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -140,7 +145,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int validationTypeCase_ = 0; private java.lang.Object validationType_; - public enum ValidationTypeCase implements com.google.protobuf.Internal.EnumLite { + public enum ValidationTypeCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { REGEX(1), VALUES(2), VALIDATIONTYPE_NOT_SET(0); @@ -149,7 +157,11 @@ public enum ValidationTypeCase implements com.google.protobuf.Internal.EnumLite private ValidationTypeCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static ValidationTypeCase valueOf(int value) { return forNumber(value); @@ -186,6 +198,8 @@ public ValidationTypeCase getValidationTypeCase() { * * * .google.cloud.dataproc.v1beta2.RegexValidation regex = 1; + * + * @return Whether the regex field is set. */ public boolean hasRegex() { return validationTypeCase_ == 1; @@ -198,6 +212,8 @@ public boolean hasRegex() { * * * .google.cloud.dataproc.v1beta2.RegexValidation regex = 1; + * + * @return The regex. */ public com.google.cloud.dataproc.v1beta2.RegexValidation getRegex() { if (validationTypeCase_ == 1) { @@ -230,6 +246,8 @@ public com.google.cloud.dataproc.v1beta2.RegexValidationOrBuilder getRegexOrBuil * * * .google.cloud.dataproc.v1beta2.ValueValidation values = 2; + * + * @return Whether the values field is set. */ public boolean hasValues() { return validationTypeCase_ == 2; @@ -242,6 +260,8 @@ public boolean hasValues() { * * * .google.cloud.dataproc.v1beta2.ValueValidation values = 2; + * + * @return The values. */ public com.google.cloud.dataproc.v1beta2.ValueValidation getValues() { if (validationTypeCase_ == 2) { @@ -667,6 +687,8 @@ public Builder clearValidationType() { * * * .google.cloud.dataproc.v1beta2.RegexValidation regex = 1; + * + * @return Whether the regex field is set. */ public boolean hasRegex() { return validationTypeCase_ == 1; @@ -679,6 +701,8 @@ public boolean hasRegex() { * * * .google.cloud.dataproc.v1beta2.RegexValidation regex = 1; + * + * @return The regex. */ public com.google.cloud.dataproc.v1beta2.RegexValidation getRegex() { if (regexBuilder_ == null) { @@ -870,6 +894,8 @@ public com.google.cloud.dataproc.v1beta2.RegexValidationOrBuilder getRegexOrBuil * * * .google.cloud.dataproc.v1beta2.ValueValidation values = 2; + * + * @return Whether the values field is set. */ public boolean hasValues() { return validationTypeCase_ == 2; @@ -882,6 +908,8 @@ public boolean hasValues() { * * * .google.cloud.dataproc.v1beta2.ValueValidation values = 2; + * + * @return The values. */ public com.google.cloud.dataproc.v1beta2.ValueValidation getValues() { if (valuesBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ParameterValidationOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ParameterValidationOrBuilder.java index 446206d4..3a5b853d 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ParameterValidationOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ParameterValidationOrBuilder.java @@ -31,6 +31,8 @@ public interface ParameterValidationOrBuilder * * * .google.cloud.dataproc.v1beta2.RegexValidation regex = 1; + * + * @return Whether the regex field is set. */ boolean hasRegex(); /** @@ -41,6 +43,8 @@ public interface ParameterValidationOrBuilder * * * .google.cloud.dataproc.v1beta2.RegexValidation regex = 1; + * + * @return The regex. */ com.google.cloud.dataproc.v1beta2.RegexValidation getRegex(); /** @@ -62,6 +66,8 @@ public interface ParameterValidationOrBuilder * * * .google.cloud.dataproc.v1beta2.ValueValidation values = 2; + * + * @return Whether the values field is set. */ boolean hasValues(); /** @@ -72,6 +78,8 @@ public interface ParameterValidationOrBuilder * * * .google.cloud.dataproc.v1beta2.ValueValidation values = 2; + * + * @return The values. */ com.google.cloud.dataproc.v1beta2.ValueValidation getValues(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PigJob.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PigJob.java index 73d2a4aa..e9d8f576 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PigJob.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PigJob.java @@ -42,6 +42,12 @@ private PigJob() { jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PigJob(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -96,11 +102,11 @@ private PigJob( } case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { scriptVariables_ = com.google.protobuf.MapField.newMapField( ScriptVariablesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry scriptVariables__ = input.readMessage( @@ -113,11 +119,11 @@ private PigJob( } case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry properties__ = input.readMessage( @@ -129,9 +135,9 @@ private PigJob( case 50: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { jarFileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000004; } jarFileUris_.add(s); break; @@ -166,7 +172,7 @@ private PigJob( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000020) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -202,11 +208,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1beta2.PigJob.Builder.class); } - private int bitField0_; private int queriesCase_ = 0; private java.lang.Object queries_; - public enum QueriesCase implements com.google.protobuf.Internal.EnumLite { + public enum QueriesCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { QUERY_FILE_URI(1), QUERY_LIST(2), QUERIES_NOT_SET(0); @@ -215,7 +223,11 @@ public enum QueriesCase implements com.google.protobuf.Internal.EnumLite { private QueriesCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static QueriesCase valueOf(int value) { return forNumber(value); @@ -252,6 +264,8 @@ public QueriesCase getQueriesCase() { * * * string query_file_uri = 1; + * + * @return The queryFileUri. */ public java.lang.String getQueryFileUri() { java.lang.Object ref = ""; @@ -277,6 +291,8 @@ public java.lang.String getQueryFileUri() { * * * string query_file_uri = 1; + * + * @return The bytes for queryFileUri. */ public com.google.protobuf.ByteString getQueryFileUriBytes() { java.lang.Object ref = ""; @@ -304,6 +320,8 @@ public com.google.protobuf.ByteString getQueryFileUriBytes() { * * * .google.cloud.dataproc.v1beta2.QueryList query_list = 2; + * + * @return Whether the queryList field is set. */ public boolean hasQueryList() { return queriesCase_ == 2; @@ -316,6 +334,8 @@ public boolean hasQueryList() { * * * .google.cloud.dataproc.v1beta2.QueryList query_list = 2; + * + * @return The queryList. */ public com.google.cloud.dataproc.v1beta2.QueryList getQueryList() { if (queriesCase_ == 2) { @@ -351,6 +371,8 @@ public com.google.cloud.dataproc.v1beta2.QueryListOrBuilder getQueryListOrBuilde * * * bool continue_on_failure = 3; + * + * @return The continueOnFailure. */ public boolean getContinueOnFailure() { return continueOnFailure_; @@ -573,6 +595,8 @@ public java.lang.String getPropertiesOrThrow(java.lang.String key) { * * * repeated string jar_file_uris = 6; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_; @@ -586,6 +610,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 6; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -599,6 +625,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 6; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -612,6 +641,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 6; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -627,6 +659,8 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 7; + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfig_ != null; @@ -639,6 +673,8 @@ public boolean hasLoggingConfig() { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 7; + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1beta2.LoggingConfig getLoggingConfig() { return loggingConfig_ == null @@ -992,7 +1028,7 @@ public Builder clear() { internalGetMutableScriptVariables().clear(); internalGetMutableProperties().clear(); jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000004); if (loggingConfigBuilder_ == null) { loggingConfig_ = null; } else { @@ -1029,7 +1065,6 @@ public com.google.cloud.dataproc.v1beta2.PigJob buildPartial() { com.google.cloud.dataproc.v1beta2.PigJob result = new com.google.cloud.dataproc.v1beta2.PigJob(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (queriesCase_ == 1) { result.queries_ = queries_; } @@ -1045,9 +1080,9 @@ public com.google.cloud.dataproc.v1beta2.PigJob buildPartial() { result.scriptVariables_.makeImmutable(); result.properties_ = internalGetProperties(); result.properties_.makeImmutable(); - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000004); } result.jarFileUris_ = jarFileUris_; if (loggingConfigBuilder_ == null) { @@ -1055,7 +1090,6 @@ public com.google.cloud.dataproc.v1beta2.PigJob buildPartial() { } else { result.loggingConfig_ = loggingConfigBuilder_.build(); } - result.bitField0_ = to_bitField0_; result.queriesCase_ = queriesCase_; onBuilt(); return result; @@ -1114,7 +1148,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.PigJob other) { if (!other.jarFileUris_.isEmpty()) { if (jarFileUris_.isEmpty()) { jarFileUris_ = other.jarFileUris_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureJarFileUrisIsMutable(); jarFileUris_.addAll(other.jarFileUris_); @@ -1195,6 +1229,8 @@ public Builder clearQueries() { * * * string query_file_uri = 1; + * + * @return The queryFileUri. */ public java.lang.String getQueryFileUri() { java.lang.Object ref = ""; @@ -1220,6 +1256,8 @@ public java.lang.String getQueryFileUri() { * * * string query_file_uri = 1; + * + * @return The bytes for queryFileUri. */ public com.google.protobuf.ByteString getQueryFileUriBytes() { java.lang.Object ref = ""; @@ -1245,6 +1283,9 @@ public com.google.protobuf.ByteString getQueryFileUriBytes() { * * * string query_file_uri = 1; + * + * @param value The queryFileUri to set. + * @return This builder for chaining. */ public Builder setQueryFileUri(java.lang.String value) { if (value == null) { @@ -1263,6 +1304,8 @@ public Builder setQueryFileUri(java.lang.String value) { * * * string query_file_uri = 1; + * + * @return This builder for chaining. */ public Builder clearQueryFileUri() { if (queriesCase_ == 1) { @@ -1280,6 +1323,9 @@ public Builder clearQueryFileUri() { * * * string query_file_uri = 1; + * + * @param value The bytes for queryFileUri to set. + * @return This builder for chaining. */ public Builder setQueryFileUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1305,6 +1351,8 @@ public Builder setQueryFileUriBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dataproc.v1beta2.QueryList query_list = 2; + * + * @return Whether the queryList field is set. */ public boolean hasQueryList() { return queriesCase_ == 2; @@ -1317,6 +1365,8 @@ public boolean hasQueryList() { * * * .google.cloud.dataproc.v1beta2.QueryList query_list = 2; + * + * @return The queryList. */ public com.google.cloud.dataproc.v1beta2.QueryList getQueryList() { if (queryListBuilder_ == null) { @@ -1505,6 +1555,8 @@ public com.google.cloud.dataproc.v1beta2.QueryListOrBuilder getQueryListOrBuilde * * * bool continue_on_failure = 3; + * + * @return The continueOnFailure. */ public boolean getContinueOnFailure() { return continueOnFailure_; @@ -1519,6 +1571,9 @@ public boolean getContinueOnFailure() { * * * bool continue_on_failure = 3; + * + * @param value The continueOnFailure to set. + * @return This builder for chaining. */ public Builder setContinueOnFailure(boolean value) { @@ -1536,6 +1591,8 @@ public Builder setContinueOnFailure(boolean value) { * * * bool continue_on_failure = 3; + * + * @return This builder for chaining. */ public Builder clearContinueOnFailure() { @@ -1887,9 +1944,9 @@ public Builder putAllProperties(java.util.Map * * repeated string jar_file_uris = 6; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_.getUnmodifiableView(); @@ -1914,6 +1973,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 6; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -1927,6 +1988,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 6; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -1940,6 +2004,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 6; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -1953,6 +2020,10 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * repeated string jar_file_uris = 6; + * + * @param index The index to set the value at. + * @param value The jarFileUris to set. + * @return This builder for chaining. */ public Builder setJarFileUris(int index, java.lang.String value) { if (value == null) { @@ -1972,6 +2043,9 @@ public Builder setJarFileUris(int index, java.lang.String value) { * * * repeated string jar_file_uris = 6; + * + * @param value The jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUris(java.lang.String value) { if (value == null) { @@ -1991,6 +2065,9 @@ public Builder addJarFileUris(java.lang.String value) { * * * repeated string jar_file_uris = 6; + * + * @param values The jarFileUris to add. + * @return This builder for chaining. */ public Builder addAllJarFileUris(java.lang.Iterable values) { ensureJarFileUrisIsMutable(); @@ -2007,10 +2084,12 @@ public Builder addAllJarFileUris(java.lang.Iterable values) { * * * repeated string jar_file_uris = 6; + * + * @return This builder for chaining. */ public Builder clearJarFileUris() { jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -2023,6 +2102,9 @@ public Builder clearJarFileUris() { * * * repeated string jar_file_uris = 6; + * + * @param value The bytes of the jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2049,6 +2131,8 @@ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 7; + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; @@ -2061,6 +2145,8 @@ public boolean hasLoggingConfig() { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 7; + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1beta2.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PigJobOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PigJobOrBuilder.java index 5fe4dc5f..12b91800 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PigJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PigJobOrBuilder.java @@ -31,6 +31,8 @@ public interface PigJobOrBuilder * * * string query_file_uri = 1; + * + * @return The queryFileUri. */ java.lang.String getQueryFileUri(); /** @@ -41,6 +43,8 @@ public interface PigJobOrBuilder * * * string query_file_uri = 1; + * + * @return The bytes for queryFileUri. */ com.google.protobuf.ByteString getQueryFileUriBytes(); @@ -52,6 +56,8 @@ public interface PigJobOrBuilder * * * .google.cloud.dataproc.v1beta2.QueryList query_list = 2; + * + * @return Whether the queryList field is set. */ boolean hasQueryList(); /** @@ -62,6 +68,8 @@ public interface PigJobOrBuilder * * * .google.cloud.dataproc.v1beta2.QueryList query_list = 2; + * + * @return The queryList. */ com.google.cloud.dataproc.v1beta2.QueryList getQueryList(); /** @@ -85,6 +93,8 @@ public interface PigJobOrBuilder * * * bool continue_on_failure = 3; + * + * @return The continueOnFailure. */ boolean getContinueOnFailure(); @@ -225,6 +235,8 @@ public interface PigJobOrBuilder * * * repeated string jar_file_uris = 6; + * + * @return A list containing the jarFileUris. */ java.util.List getJarFileUrisList(); /** @@ -236,6 +248,8 @@ public interface PigJobOrBuilder * * * repeated string jar_file_uris = 6; + * + * @return The count of jarFileUris. */ int getJarFileUrisCount(); /** @@ -247,6 +261,9 @@ public interface PigJobOrBuilder * * * repeated string jar_file_uris = 6; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ java.lang.String getJarFileUris(int index); /** @@ -258,6 +275,9 @@ public interface PigJobOrBuilder * * * repeated string jar_file_uris = 6; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ com.google.protobuf.ByteString getJarFileUrisBytes(int index); @@ -269,6 +289,8 @@ public interface PigJobOrBuilder * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 7; + * + * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** @@ -279,6 +301,8 @@ public interface PigJobOrBuilder * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 7; + * + * @return The loggingConfig. */ com.google.cloud.dataproc.v1beta2.LoggingConfig getLoggingConfig(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PySparkJob.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PySparkJob.java index 15ea818f..2f7bb480 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PySparkJob.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PySparkJob.java @@ -49,6 +49,12 @@ private PySparkJob() { archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PySparkJob(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -83,9 +89,9 @@ private PySparkJob( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } args_.add(s); break; @@ -93,9 +99,9 @@ private PySparkJob( case 26: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { pythonFileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000002; } pythonFileUris_.add(s); break; @@ -103,9 +109,9 @@ private PySparkJob( case 34: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { jarFileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000004; } jarFileUris_.add(s); break; @@ -113,9 +119,9 @@ private PySparkJob( case 42: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { fileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000008; } fileUris_.add(s); break; @@ -123,20 +129,20 @@ private PySparkJob( case 50: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { archiveUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000010; } archiveUris_.add(s); break; } case 58: { - if (!((mutable_bitField0_ & 0x00000040) != 0)) { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000040; + mutable_bitField0_ |= 0x00000020; } com.google.protobuf.MapEntry properties__ = input.readMessage( @@ -175,19 +181,19 @@ private PySparkJob( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000004) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { pythonFileUris_ = pythonFileUris_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000008) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000010) != 0)) { + if (((mutable_bitField0_ & 0x00000008) != 0)) { fileUris_ = fileUris_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000020) != 0)) { + if (((mutable_bitField0_ & 0x00000010) != 0)) { archiveUris_ = archiveUris_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -221,7 +227,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1beta2.PySparkJob.Builder.class); } - private int bitField0_; public static final int MAIN_PYTHON_FILE_URI_FIELD_NUMBER = 1; private volatile java.lang.Object mainPythonFileUri_; /** @@ -233,6 +238,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The mainPythonFileUri. */ public java.lang.String getMainPythonFileUri() { java.lang.Object ref = mainPythonFileUri_; @@ -254,6 +261,8 @@ public java.lang.String getMainPythonFileUri() { * * * string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for mainPythonFileUri. */ public com.google.protobuf.ByteString getMainPythonFileUriBytes() { java.lang.Object ref = mainPythonFileUri_; @@ -279,6 +288,8 @@ public com.google.protobuf.ByteString getMainPythonFileUriBytes() { * * * repeated string args = 2; + * + * @return A list containing the args. */ public com.google.protobuf.ProtocolStringList getArgsList() { return args_; @@ -293,6 +304,8 @@ public com.google.protobuf.ProtocolStringList getArgsList() { * * * repeated string args = 2; + * + * @return The count of args. */ public int getArgsCount() { return args_.size(); @@ -307,6 +320,9 @@ public int getArgsCount() { * * * repeated string args = 2; + * + * @param index The index of the element to return. + * @return The args at the given index. */ public java.lang.String getArgs(int index) { return args_.get(index); @@ -321,6 +337,9 @@ public java.lang.String getArgs(int index) { * * * repeated string args = 2; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); @@ -337,6 +356,8 @@ public com.google.protobuf.ByteString getArgsBytes(int index) { * * * repeated string python_file_uris = 3; + * + * @return A list containing the pythonFileUris. */ public com.google.protobuf.ProtocolStringList getPythonFileUrisList() { return pythonFileUris_; @@ -350,6 +371,8 @@ public com.google.protobuf.ProtocolStringList getPythonFileUrisList() { * * * repeated string python_file_uris = 3; + * + * @return The count of pythonFileUris. */ public int getPythonFileUrisCount() { return pythonFileUris_.size(); @@ -363,6 +386,9 @@ public int getPythonFileUrisCount() { * * * repeated string python_file_uris = 3; + * + * @param index The index of the element to return. + * @return The pythonFileUris at the given index. */ public java.lang.String getPythonFileUris(int index) { return pythonFileUris_.get(index); @@ -376,6 +402,9 @@ public java.lang.String getPythonFileUris(int index) { * * * repeated string python_file_uris = 3; + * + * @param index The index of the value to return. + * @return The bytes of the pythonFileUris at the given index. */ public com.google.protobuf.ByteString getPythonFileUrisBytes(int index) { return pythonFileUris_.getByteString(index); @@ -392,6 +421,8 @@ public com.google.protobuf.ByteString getPythonFileUrisBytes(int index) { * * * repeated string jar_file_uris = 4; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_; @@ -405,6 +436,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 4; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -418,6 +451,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 4; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -431,6 +467,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 4; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -447,6 +486,8 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * repeated string file_uris = 5; + * + * @return A list containing the fileUris. */ public com.google.protobuf.ProtocolStringList getFileUrisList() { return fileUris_; @@ -460,6 +501,8 @@ public com.google.protobuf.ProtocolStringList getFileUrisList() { * * * repeated string file_uris = 5; + * + * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); @@ -473,6 +516,9 @@ public int getFileUrisCount() { * * * repeated string file_uris = 5; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ public java.lang.String getFileUris(int index) { return fileUris_.get(index); @@ -486,6 +532,9 @@ public java.lang.String getFileUris(int index) { * * * repeated string file_uris = 5; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ public com.google.protobuf.ByteString getFileUrisBytes(int index) { return fileUris_.getByteString(index); @@ -502,6 +551,8 @@ public com.google.protobuf.ByteString getFileUrisBytes(int index) { * * * repeated string archive_uris = 6; + * + * @return A list containing the archiveUris. */ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { return archiveUris_; @@ -515,6 +566,8 @@ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { * * * repeated string archive_uris = 6; + * + * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); @@ -528,6 +581,9 @@ public int getArchiveUrisCount() { * * * repeated string archive_uris = 6; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); @@ -541,6 +597,9 @@ public java.lang.String getArchiveUris(int index) { * * * repeated string archive_uris = 6; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); @@ -662,6 +721,8 @@ public java.lang.String getPropertiesOrThrow(java.lang.String key) { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 8; + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfig_ != null; @@ -674,6 +735,8 @@ public boolean hasLoggingConfig() { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 8; + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1beta2.LoggingConfig getLoggingConfig() { return loggingConfig_ == null @@ -1034,15 +1097,15 @@ public Builder clear() { mainPythonFileUri_ = ""; args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); pythonFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); fileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); internalGetMutableProperties().clear(); if (loggingConfigBuilder_ == null) { loggingConfig_ = null; @@ -1078,31 +1141,30 @@ public com.google.cloud.dataproc.v1beta2.PySparkJob buildPartial() { com.google.cloud.dataproc.v1beta2.PySparkJob result = new com.google.cloud.dataproc.v1beta2.PySparkJob(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.mainPythonFileUri_ = mainPythonFileUri_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.args_ = args_; - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { pythonFileUris_ = pythonFileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); } result.pythonFileUris_ = pythonFileUris_; - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); } result.jarFileUris_ = jarFileUris_; - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { fileUris_ = fileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); } result.fileUris_ = fileUris_; - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { archiveUris_ = archiveUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); } result.archiveUris_ = archiveUris_; result.properties_ = internalGetProperties(); @@ -1112,7 +1174,6 @@ public com.google.cloud.dataproc.v1beta2.PySparkJob buildPartial() { } else { result.loggingConfig_ = loggingConfigBuilder_.build(); } - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1169,7 +1230,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.PySparkJob other) { if (!other.args_.isEmpty()) { if (args_.isEmpty()) { args_ = other.args_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureArgsIsMutable(); args_.addAll(other.args_); @@ -1179,7 +1240,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.PySparkJob other) { if (!other.pythonFileUris_.isEmpty()) { if (pythonFileUris_.isEmpty()) { pythonFileUris_ = other.pythonFileUris_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensurePythonFileUrisIsMutable(); pythonFileUris_.addAll(other.pythonFileUris_); @@ -1189,7 +1250,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.PySparkJob other) { if (!other.jarFileUris_.isEmpty()) { if (jarFileUris_.isEmpty()) { jarFileUris_ = other.jarFileUris_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureJarFileUrisIsMutable(); jarFileUris_.addAll(other.jarFileUris_); @@ -1199,7 +1260,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.PySparkJob other) { if (!other.fileUris_.isEmpty()) { if (fileUris_.isEmpty()) { fileUris_ = other.fileUris_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); } else { ensureFileUrisIsMutable(); fileUris_.addAll(other.fileUris_); @@ -1209,7 +1270,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.PySparkJob other) { if (!other.archiveUris_.isEmpty()) { if (archiveUris_.isEmpty()) { archiveUris_ = other.archiveUris_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); } else { ensureArchiveUrisIsMutable(); archiveUris_.addAll(other.archiveUris_); @@ -1261,6 +1322,8 @@ public Builder mergeFrom( * * * string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The mainPythonFileUri. */ public java.lang.String getMainPythonFileUri() { java.lang.Object ref = mainPythonFileUri_; @@ -1282,6 +1345,8 @@ public java.lang.String getMainPythonFileUri() { * * * string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for mainPythonFileUri. */ public com.google.protobuf.ByteString getMainPythonFileUriBytes() { java.lang.Object ref = mainPythonFileUri_; @@ -1303,6 +1368,9 @@ public com.google.protobuf.ByteString getMainPythonFileUriBytes() { * * * string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The mainPythonFileUri to set. + * @return This builder for chaining. */ public Builder setMainPythonFileUri(java.lang.String value) { if (value == null) { @@ -1322,6 +1390,8 @@ public Builder setMainPythonFileUri(java.lang.String value) { * * * string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearMainPythonFileUri() { @@ -1338,6 +1408,9 @@ public Builder clearMainPythonFileUri() { * * * string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for mainPythonFileUri to set. + * @return This builder for chaining. */ public Builder setMainPythonFileUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1354,9 +1427,9 @@ public Builder setMainPythonFileUriBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArgsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(args_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** @@ -1369,6 +1442,8 @@ private void ensureArgsIsMutable() { * * * repeated string args = 2; + * + * @return A list containing the args. */ public com.google.protobuf.ProtocolStringList getArgsList() { return args_.getUnmodifiableView(); @@ -1383,6 +1458,8 @@ public com.google.protobuf.ProtocolStringList getArgsList() { * * * repeated string args = 2; + * + * @return The count of args. */ public int getArgsCount() { return args_.size(); @@ -1397,6 +1474,9 @@ public int getArgsCount() { * * * repeated string args = 2; + * + * @param index The index of the element to return. + * @return The args at the given index. */ public java.lang.String getArgs(int index) { return args_.get(index); @@ -1411,6 +1491,9 @@ public java.lang.String getArgs(int index) { * * * repeated string args = 2; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); @@ -1425,6 +1508,10 @@ public com.google.protobuf.ByteString getArgsBytes(int index) { * * * repeated string args = 2; + * + * @param index The index to set the value at. + * @param value The args to set. + * @return This builder for chaining. */ public Builder setArgs(int index, java.lang.String value) { if (value == null) { @@ -1445,6 +1532,9 @@ public Builder setArgs(int index, java.lang.String value) { * * * repeated string args = 2; + * + * @param value The args to add. + * @return This builder for chaining. */ public Builder addArgs(java.lang.String value) { if (value == null) { @@ -1465,6 +1555,9 @@ public Builder addArgs(java.lang.String value) { * * * repeated string args = 2; + * + * @param values The args to add. + * @return This builder for chaining. */ public Builder addAllArgs(java.lang.Iterable values) { ensureArgsIsMutable(); @@ -1482,10 +1575,12 @@ public Builder addAllArgs(java.lang.Iterable values) { * * * repeated string args = 2; + * + * @return This builder for chaining. */ public Builder clearArgs() { args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1499,6 +1594,9 @@ public Builder clearArgs() { * * * repeated string args = 2; + * + * @param value The bytes of the args to add. + * @return This builder for chaining. */ public Builder addArgsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1515,9 +1613,9 @@ public Builder addArgsBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePythonFileUrisIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { pythonFileUris_ = new com.google.protobuf.LazyStringArrayList(pythonFileUris_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; } } /** @@ -1529,6 +1627,8 @@ private void ensurePythonFileUrisIsMutable() { * * * repeated string python_file_uris = 3; + * + * @return A list containing the pythonFileUris. */ public com.google.protobuf.ProtocolStringList getPythonFileUrisList() { return pythonFileUris_.getUnmodifiableView(); @@ -1542,6 +1642,8 @@ public com.google.protobuf.ProtocolStringList getPythonFileUrisList() { * * * repeated string python_file_uris = 3; + * + * @return The count of pythonFileUris. */ public int getPythonFileUrisCount() { return pythonFileUris_.size(); @@ -1555,6 +1657,9 @@ public int getPythonFileUrisCount() { * * * repeated string python_file_uris = 3; + * + * @param index The index of the element to return. + * @return The pythonFileUris at the given index. */ public java.lang.String getPythonFileUris(int index) { return pythonFileUris_.get(index); @@ -1568,6 +1673,9 @@ public java.lang.String getPythonFileUris(int index) { * * * repeated string python_file_uris = 3; + * + * @param index The index of the value to return. + * @return The bytes of the pythonFileUris at the given index. */ public com.google.protobuf.ByteString getPythonFileUrisBytes(int index) { return pythonFileUris_.getByteString(index); @@ -1581,6 +1689,10 @@ public com.google.protobuf.ByteString getPythonFileUrisBytes(int index) { * * * repeated string python_file_uris = 3; + * + * @param index The index to set the value at. + * @param value The pythonFileUris to set. + * @return This builder for chaining. */ public Builder setPythonFileUris(int index, java.lang.String value) { if (value == null) { @@ -1600,6 +1712,9 @@ public Builder setPythonFileUris(int index, java.lang.String value) { * * * repeated string python_file_uris = 3; + * + * @param value The pythonFileUris to add. + * @return This builder for chaining. */ public Builder addPythonFileUris(java.lang.String value) { if (value == null) { @@ -1619,6 +1734,9 @@ public Builder addPythonFileUris(java.lang.String value) { * * * repeated string python_file_uris = 3; + * + * @param values The pythonFileUris to add. + * @return This builder for chaining. */ public Builder addAllPythonFileUris(java.lang.Iterable values) { ensurePythonFileUrisIsMutable(); @@ -1635,10 +1753,12 @@ public Builder addAllPythonFileUris(java.lang.Iterable values) * * * repeated string python_file_uris = 3; + * + * @return This builder for chaining. */ public Builder clearPythonFileUris() { pythonFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -1651,6 +1771,9 @@ public Builder clearPythonFileUris() { * * * repeated string python_file_uris = 3; + * + * @param value The bytes of the pythonFileUris to add. + * @return This builder for chaining. */ public Builder addPythonFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1667,9 +1790,9 @@ public Builder addPythonFileUrisBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureJarFileUrisIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000004) != 0)) { jarFileUris_ = new com.google.protobuf.LazyStringArrayList(jarFileUris_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; } } /** @@ -1681,6 +1804,8 @@ private void ensureJarFileUrisIsMutable() { * * * repeated string jar_file_uris = 4; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_.getUnmodifiableView(); @@ -1694,6 +1819,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 4; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -1707,6 +1834,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 4; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -1720,6 +1850,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 4; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -1733,6 +1866,10 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * repeated string jar_file_uris = 4; + * + * @param index The index to set the value at. + * @param value The jarFileUris to set. + * @return This builder for chaining. */ public Builder setJarFileUris(int index, java.lang.String value) { if (value == null) { @@ -1752,6 +1889,9 @@ public Builder setJarFileUris(int index, java.lang.String value) { * * * repeated string jar_file_uris = 4; + * + * @param value The jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUris(java.lang.String value) { if (value == null) { @@ -1771,6 +1911,9 @@ public Builder addJarFileUris(java.lang.String value) { * * * repeated string jar_file_uris = 4; + * + * @param values The jarFileUris to add. + * @return This builder for chaining. */ public Builder addAllJarFileUris(java.lang.Iterable values) { ensureJarFileUrisIsMutable(); @@ -1787,10 +1930,12 @@ public Builder addAllJarFileUris(java.lang.Iterable values) { * * * repeated string jar_file_uris = 4; + * + * @return This builder for chaining. */ public Builder clearJarFileUris() { jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -1803,6 +1948,9 @@ public Builder clearJarFileUris() { * * * repeated string jar_file_uris = 4; + * + * @param value The bytes of the jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1819,9 +1967,9 @@ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFileUrisIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { + if (!((bitField0_ & 0x00000008) != 0)) { fileUris_ = new com.google.protobuf.LazyStringArrayList(fileUris_); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000008; } } /** @@ -1833,6 +1981,8 @@ private void ensureFileUrisIsMutable() { * * * repeated string file_uris = 5; + * + * @return A list containing the fileUris. */ public com.google.protobuf.ProtocolStringList getFileUrisList() { return fileUris_.getUnmodifiableView(); @@ -1846,6 +1996,8 @@ public com.google.protobuf.ProtocolStringList getFileUrisList() { * * * repeated string file_uris = 5; + * + * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); @@ -1859,6 +2011,9 @@ public int getFileUrisCount() { * * * repeated string file_uris = 5; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ public java.lang.String getFileUris(int index) { return fileUris_.get(index); @@ -1872,6 +2027,9 @@ public java.lang.String getFileUris(int index) { * * * repeated string file_uris = 5; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ public com.google.protobuf.ByteString getFileUrisBytes(int index) { return fileUris_.getByteString(index); @@ -1885,6 +2043,10 @@ public com.google.protobuf.ByteString getFileUrisBytes(int index) { * * * repeated string file_uris = 5; + * + * @param index The index to set the value at. + * @param value The fileUris to set. + * @return This builder for chaining. */ public Builder setFileUris(int index, java.lang.String value) { if (value == null) { @@ -1904,6 +2066,9 @@ public Builder setFileUris(int index, java.lang.String value) { * * * repeated string file_uris = 5; + * + * @param value The fileUris to add. + * @return This builder for chaining. */ public Builder addFileUris(java.lang.String value) { if (value == null) { @@ -1923,6 +2088,9 @@ public Builder addFileUris(java.lang.String value) { * * * repeated string file_uris = 5; + * + * @param values The fileUris to add. + * @return This builder for chaining. */ public Builder addAllFileUris(java.lang.Iterable values) { ensureFileUrisIsMutable(); @@ -1939,10 +2107,12 @@ public Builder addAllFileUris(java.lang.Iterable values) { * * * repeated string file_uris = 5; + * + * @return This builder for chaining. */ public Builder clearFileUris() { fileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -1955,6 +2125,9 @@ public Builder clearFileUris() { * * * repeated string file_uris = 5; + * + * @param value The bytes of the fileUris to add. + * @return This builder for chaining. */ public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1971,9 +2144,9 @@ public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArchiveUrisIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { + if (!((bitField0_ & 0x00000010) != 0)) { archiveUris_ = new com.google.protobuf.LazyStringArrayList(archiveUris_); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000010; } } /** @@ -1985,6 +2158,8 @@ private void ensureArchiveUrisIsMutable() { * * * repeated string archive_uris = 6; + * + * @return A list containing the archiveUris. */ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { return archiveUris_.getUnmodifiableView(); @@ -1998,6 +2173,8 @@ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { * * * repeated string archive_uris = 6; + * + * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); @@ -2011,6 +2188,9 @@ public int getArchiveUrisCount() { * * * repeated string archive_uris = 6; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); @@ -2024,6 +2204,9 @@ public java.lang.String getArchiveUris(int index) { * * * repeated string archive_uris = 6; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); @@ -2037,6 +2220,10 @@ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { * * * repeated string archive_uris = 6; + * + * @param index The index to set the value at. + * @param value The archiveUris to set. + * @return This builder for chaining. */ public Builder setArchiveUris(int index, java.lang.String value) { if (value == null) { @@ -2056,6 +2243,9 @@ public Builder setArchiveUris(int index, java.lang.String value) { * * * repeated string archive_uris = 6; + * + * @param value The archiveUris to add. + * @return This builder for chaining. */ public Builder addArchiveUris(java.lang.String value) { if (value == null) { @@ -2075,6 +2265,9 @@ public Builder addArchiveUris(java.lang.String value) { * * * repeated string archive_uris = 6; + * + * @param values The archiveUris to add. + * @return This builder for chaining. */ public Builder addAllArchiveUris(java.lang.Iterable values) { ensureArchiveUrisIsMutable(); @@ -2091,10 +2284,12 @@ public Builder addAllArchiveUris(java.lang.Iterable values) { * * * repeated string archive_uris = 6; + * + * @return This builder for chaining. */ public Builder clearArchiveUris() { archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } @@ -2107,6 +2302,9 @@ public Builder clearArchiveUris() { * * * repeated string archive_uris = 6; + * + * @param value The bytes of the archiveUris to add. + * @return This builder for chaining. */ public Builder addArchiveUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2309,6 +2507,8 @@ public Builder putAllProperties(java.util.Map * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 8; + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; @@ -2321,6 +2521,8 @@ public boolean hasLoggingConfig() { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 8; + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1beta2.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PySparkJobOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PySparkJobOrBuilder.java index 4f5acf8b..d057b3ce 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PySparkJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PySparkJobOrBuilder.java @@ -32,6 +32,8 @@ public interface PySparkJobOrBuilder * * * string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The mainPythonFileUri. */ java.lang.String getMainPythonFileUri(); /** @@ -43,6 +45,8 @@ public interface PySparkJobOrBuilder * * * string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for mainPythonFileUri. */ com.google.protobuf.ByteString getMainPythonFileUriBytes(); @@ -56,6 +60,8 @@ public interface PySparkJobOrBuilder * * * repeated string args = 2; + * + * @return A list containing the args. */ java.util.List getArgsList(); /** @@ -68,6 +74,8 @@ public interface PySparkJobOrBuilder * * * repeated string args = 2; + * + * @return The count of args. */ int getArgsCount(); /** @@ -80,6 +88,9 @@ public interface PySparkJobOrBuilder * * * repeated string args = 2; + * + * @param index The index of the element to return. + * @return The args at the given index. */ java.lang.String getArgs(int index); /** @@ -92,6 +103,9 @@ public interface PySparkJobOrBuilder * * * repeated string args = 2; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ com.google.protobuf.ByteString getArgsBytes(int index); @@ -104,6 +118,8 @@ public interface PySparkJobOrBuilder * * * repeated string python_file_uris = 3; + * + * @return A list containing the pythonFileUris. */ java.util.List getPythonFileUrisList(); /** @@ -115,6 +131,8 @@ public interface PySparkJobOrBuilder * * * repeated string python_file_uris = 3; + * + * @return The count of pythonFileUris. */ int getPythonFileUrisCount(); /** @@ -126,6 +144,9 @@ public interface PySparkJobOrBuilder * * * repeated string python_file_uris = 3; + * + * @param index The index of the element to return. + * @return The pythonFileUris at the given index. */ java.lang.String getPythonFileUris(int index); /** @@ -137,6 +158,9 @@ public interface PySparkJobOrBuilder * * * repeated string python_file_uris = 3; + * + * @param index The index of the value to return. + * @return The bytes of the pythonFileUris at the given index. */ com.google.protobuf.ByteString getPythonFileUrisBytes(int index); @@ -149,6 +173,8 @@ public interface PySparkJobOrBuilder * * * repeated string jar_file_uris = 4; + * + * @return A list containing the jarFileUris. */ java.util.List getJarFileUrisList(); /** @@ -160,6 +186,8 @@ public interface PySparkJobOrBuilder * * * repeated string jar_file_uris = 4; + * + * @return The count of jarFileUris. */ int getJarFileUrisCount(); /** @@ -171,6 +199,9 @@ public interface PySparkJobOrBuilder * * * repeated string jar_file_uris = 4; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ java.lang.String getJarFileUris(int index); /** @@ -182,6 +213,9 @@ public interface PySparkJobOrBuilder * * * repeated string jar_file_uris = 4; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ com.google.protobuf.ByteString getJarFileUrisBytes(int index); @@ -194,6 +228,8 @@ public interface PySparkJobOrBuilder * * * repeated string file_uris = 5; + * + * @return A list containing the fileUris. */ java.util.List getFileUrisList(); /** @@ -205,6 +241,8 @@ public interface PySparkJobOrBuilder * * * repeated string file_uris = 5; + * + * @return The count of fileUris. */ int getFileUrisCount(); /** @@ -216,6 +254,9 @@ public interface PySparkJobOrBuilder * * * repeated string file_uris = 5; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ java.lang.String getFileUris(int index); /** @@ -227,6 +268,9 @@ public interface PySparkJobOrBuilder * * * repeated string file_uris = 5; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ com.google.protobuf.ByteString getFileUrisBytes(int index); @@ -239,6 +283,8 @@ public interface PySparkJobOrBuilder * * * repeated string archive_uris = 6; + * + * @return A list containing the archiveUris. */ java.util.List getArchiveUrisList(); /** @@ -250,6 +296,8 @@ public interface PySparkJobOrBuilder * * * repeated string archive_uris = 6; + * + * @return The count of archiveUris. */ int getArchiveUrisCount(); /** @@ -261,6 +309,9 @@ public interface PySparkJobOrBuilder * * * repeated string archive_uris = 6; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ java.lang.String getArchiveUris(int index); /** @@ -272,6 +323,9 @@ public interface PySparkJobOrBuilder * * * repeated string archive_uris = 6; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ com.google.protobuf.ByteString getArchiveUrisBytes(int index); @@ -352,6 +406,8 @@ public interface PySparkJobOrBuilder * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 8; + * + * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** @@ -362,6 +418,8 @@ public interface PySparkJobOrBuilder * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 8; + * + * @return The loggingConfig. */ com.google.cloud.dataproc.v1beta2.LoggingConfig getLoggingConfig(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/QueryList.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/QueryList.java index fbbd50ec..e50a0d8e 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/QueryList.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/QueryList.java @@ -41,6 +41,12 @@ private QueryList() { queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new QueryList(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -134,6 +140,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the queries. */ public com.google.protobuf.ProtocolStringList getQueriesList() { return queries_; @@ -158,6 +166,8 @@ public com.google.protobuf.ProtocolStringList getQueriesList() { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of queries. */ public int getQueriesCount() { return queries_.size(); @@ -182,6 +192,9 @@ public int getQueriesCount() { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The queries at the given index. */ public java.lang.String getQueries(int index) { return queries_.get(index); @@ -206,6 +219,9 @@ public java.lang.String getQueries(int index) { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the queries at the given index. */ public com.google.protobuf.ByteString getQueriesBytes(int index) { return queries_.getByteString(index); @@ -576,6 +592,8 @@ private void ensureQueriesIsMutable() { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the queries. */ public com.google.protobuf.ProtocolStringList getQueriesList() { return queries_.getUnmodifiableView(); @@ -600,6 +618,8 @@ public com.google.protobuf.ProtocolStringList getQueriesList() { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of queries. */ public int getQueriesCount() { return queries_.size(); @@ -624,6 +644,9 @@ public int getQueriesCount() { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The queries at the given index. */ public java.lang.String getQueries(int index) { return queries_.get(index); @@ -648,6 +671,9 @@ public java.lang.String getQueries(int index) { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the queries at the given index. */ public com.google.protobuf.ByteString getQueriesBytes(int index) { return queries_.getByteString(index); @@ -672,6 +698,10 @@ public com.google.protobuf.ByteString getQueriesBytes(int index) { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index to set the value at. + * @param value The queries to set. + * @return This builder for chaining. */ public Builder setQueries(int index, java.lang.String value) { if (value == null) { @@ -702,6 +732,9 @@ public Builder setQueries(int index, java.lang.String value) { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The queries to add. + * @return This builder for chaining. */ public Builder addQueries(java.lang.String value) { if (value == null) { @@ -732,6 +765,9 @@ public Builder addQueries(java.lang.String value) { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param values The queries to add. + * @return This builder for chaining. */ public Builder addAllQueries(java.lang.Iterable values) { ensureQueriesIsMutable(); @@ -759,6 +795,8 @@ public Builder addAllQueries(java.lang.Iterable values) { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearQueries() { queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -786,6 +824,9 @@ public Builder clearQueries() { * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes of the queries to add. + * @return This builder for chaining. */ public Builder addQueriesBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/QueryListOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/QueryListOrBuilder.java index 0ac91b45..4f5e98ba 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/QueryListOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/QueryListOrBuilder.java @@ -43,6 +43,8 @@ public interface QueryListOrBuilder * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the queries. */ java.util.List getQueriesList(); /** @@ -65,6 +67,8 @@ public interface QueryListOrBuilder * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of queries. */ int getQueriesCount(); /** @@ -87,6 +91,9 @@ public interface QueryListOrBuilder * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The queries at the given index. */ java.lang.String getQueries(int index); /** @@ -109,6 +116,9 @@ public interface QueryListOrBuilder * * * repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the queries at the given index. */ com.google.protobuf.ByteString getQueriesBytes(int index); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/RegexValidation.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/RegexValidation.java index 7db35f4f..57a7affa 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/RegexValidation.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/RegexValidation.java @@ -41,6 +41,12 @@ private RegexValidation() { regexes_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RegexValidation(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -124,6 +130,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * repeated string regexes = 1; + * + * @return A list containing the regexes. */ public com.google.protobuf.ProtocolStringList getRegexesList() { return regexes_; @@ -138,6 +146,8 @@ public com.google.protobuf.ProtocolStringList getRegexesList() { * * * repeated string regexes = 1; + * + * @return The count of regexes. */ public int getRegexesCount() { return regexes_.size(); @@ -152,6 +162,9 @@ public int getRegexesCount() { * * * repeated string regexes = 1; + * + * @param index The index of the element to return. + * @return The regexes at the given index. */ public java.lang.String getRegexes(int index) { return regexes_.get(index); @@ -166,6 +179,9 @@ public java.lang.String getRegexes(int index) { * * * repeated string regexes = 1; + * + * @param index The index of the value to return. + * @return The bytes of the regexes at the given index. */ public com.google.protobuf.ByteString getRegexesBytes(int index) { return regexes_.getByteString(index); @@ -528,6 +544,8 @@ private void ensureRegexesIsMutable() { * * * repeated string regexes = 1; + * + * @return A list containing the regexes. */ public com.google.protobuf.ProtocolStringList getRegexesList() { return regexes_.getUnmodifiableView(); @@ -542,6 +560,8 @@ public com.google.protobuf.ProtocolStringList getRegexesList() { * * * repeated string regexes = 1; + * + * @return The count of regexes. */ public int getRegexesCount() { return regexes_.size(); @@ -556,6 +576,9 @@ public int getRegexesCount() { * * * repeated string regexes = 1; + * + * @param index The index of the element to return. + * @return The regexes at the given index. */ public java.lang.String getRegexes(int index) { return regexes_.get(index); @@ -570,6 +593,9 @@ public java.lang.String getRegexes(int index) { * * * repeated string regexes = 1; + * + * @param index The index of the value to return. + * @return The bytes of the regexes at the given index. */ public com.google.protobuf.ByteString getRegexesBytes(int index) { return regexes_.getByteString(index); @@ -584,6 +610,10 @@ public com.google.protobuf.ByteString getRegexesBytes(int index) { * * * repeated string regexes = 1; + * + * @param index The index to set the value at. + * @param value The regexes to set. + * @return This builder for chaining. */ public Builder setRegexes(int index, java.lang.String value) { if (value == null) { @@ -604,6 +634,9 @@ public Builder setRegexes(int index, java.lang.String value) { * * * repeated string regexes = 1; + * + * @param value The regexes to add. + * @return This builder for chaining. */ public Builder addRegexes(java.lang.String value) { if (value == null) { @@ -624,6 +657,9 @@ public Builder addRegexes(java.lang.String value) { * * * repeated string regexes = 1; + * + * @param values The regexes to add. + * @return This builder for chaining. */ public Builder addAllRegexes(java.lang.Iterable values) { ensureRegexesIsMutable(); @@ -641,6 +677,8 @@ public Builder addAllRegexes(java.lang.Iterable values) { * * * repeated string regexes = 1; + * + * @return This builder for chaining. */ public Builder clearRegexes() { regexes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -658,6 +696,9 @@ public Builder clearRegexes() { * * * repeated string regexes = 1; + * + * @param value The bytes of the regexes to add. + * @return This builder for chaining. */ public Builder addRegexesBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/RegexValidationOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/RegexValidationOrBuilder.java index 49d38de4..7bbee23f 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/RegexValidationOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/RegexValidationOrBuilder.java @@ -33,6 +33,8 @@ public interface RegexValidationOrBuilder * * * repeated string regexes = 1; + * + * @return A list containing the regexes. */ java.util.List getRegexesList(); /** @@ -45,6 +47,8 @@ public interface RegexValidationOrBuilder * * * repeated string regexes = 1; + * + * @return The count of regexes. */ int getRegexesCount(); /** @@ -57,6 +61,9 @@ public interface RegexValidationOrBuilder * * * repeated string regexes = 1; + * + * @param index The index of the element to return. + * @return The regexes at the given index. */ java.lang.String getRegexes(int index); /** @@ -69,6 +76,9 @@ public interface RegexValidationOrBuilder * * * repeated string regexes = 1; + * + * @param index The index of the value to return. + * @return The bytes of the regexes at the given index. */ com.google.protobuf.ByteString getRegexesBytes(int index); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/RegionName.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/RegionName.java index 80b052f7..6a9d481e 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/RegionName.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/RegionName.java @@ -24,7 +24,7 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public class RegionName implements ResourceName { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ReservationAffinity.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ReservationAffinity.java index ce9a4cc7..e6eb6155 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ReservationAffinity.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ReservationAffinity.java @@ -43,6 +43,12 @@ private ReservationAffinity() { values_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ReservationAffinity(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -84,9 +90,9 @@ private ReservationAffinity( case 26: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { values_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000001; } values_.add(s); break; @@ -105,7 +111,7 @@ private ReservationAffinity( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { values_ = values_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -216,12 +222,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static Type valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static Type forNumber(int value) { switch (value) { case 0: @@ -283,7 +297,6 @@ private Type(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataproc.v1beta2.ReservationAffinity.Type) } - private int bitField0_; public static final int CONSUME_RESERVATION_TYPE_FIELD_NUMBER = 1; private int consumeReservationType_; /** @@ -296,6 +309,8 @@ private Type(int value) { * * .google.cloud.dataproc.v1beta2.ReservationAffinity.Type consume_reservation_type = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for consumeReservationType. */ public int getConsumeReservationTypeValue() { return consumeReservationType_; @@ -310,6 +325,8 @@ public int getConsumeReservationTypeValue() { * * .google.cloud.dataproc.v1beta2.ReservationAffinity.Type consume_reservation_type = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The consumeReservationType. */ public com.google.cloud.dataproc.v1beta2.ReservationAffinity.Type getConsumeReservationType() { @SuppressWarnings("deprecation") @@ -330,6 +347,8 @@ public com.google.cloud.dataproc.v1beta2.ReservationAffinity.Type getConsumeRese * * * string key = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; @@ -350,6 +369,8 @@ public java.lang.String getKey() { * * * string key = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; @@ -373,6 +394,8 @@ public com.google.protobuf.ByteString getKeyBytes() { * * * repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the values. */ public com.google.protobuf.ProtocolStringList getValuesList() { return values_; @@ -385,6 +408,8 @@ public com.google.protobuf.ProtocolStringList getValuesList() { * * * repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of values. */ public int getValuesCount() { return values_.size(); @@ -397,6 +422,9 @@ public int getValuesCount() { * * * repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The values at the given index. */ public java.lang.String getValues(int index) { return values_.get(index); @@ -409,6 +437,9 @@ public java.lang.String getValues(int index) { * * * repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the values at the given index. */ public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); @@ -653,7 +684,7 @@ public Builder clear() { key_ = ""; values_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -682,15 +713,13 @@ public com.google.cloud.dataproc.v1beta2.ReservationAffinity buildPartial() { com.google.cloud.dataproc.v1beta2.ReservationAffinity result = new com.google.cloud.dataproc.v1beta2.ReservationAffinity(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.consumeReservationType_ = consumeReservationType_; result.key_ = key_; - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { values_ = values_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } result.values_ = values_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -751,7 +780,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.ReservationAffinity o if (!other.values_.isEmpty()) { if (values_.isEmpty()) { values_ = other.values_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureValuesIsMutable(); values_.addAll(other.values_); @@ -801,6 +830,8 @@ public Builder mergeFrom( * * .google.cloud.dataproc.v1beta2.ReservationAffinity.Type consume_reservation_type = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for consumeReservationType. */ public int getConsumeReservationTypeValue() { return consumeReservationType_; @@ -815,6 +846,9 @@ public int getConsumeReservationTypeValue() { * * .google.cloud.dataproc.v1beta2.ReservationAffinity.Type consume_reservation_type = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The enum numeric value on the wire for consumeReservationType to set. + * @return This builder for chaining. */ public Builder setConsumeReservationTypeValue(int value) { consumeReservationType_ = value; @@ -831,6 +865,8 @@ public Builder setConsumeReservationTypeValue(int value) { * * .google.cloud.dataproc.v1beta2.ReservationAffinity.Type consume_reservation_type = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The consumeReservationType. */ public com.google.cloud.dataproc.v1beta2.ReservationAffinity.Type getConsumeReservationType() { @SuppressWarnings("deprecation") @@ -851,6 +887,9 @@ public com.google.cloud.dataproc.v1beta2.ReservationAffinity.Type getConsumeRese * * .google.cloud.dataproc.v1beta2.ReservationAffinity.Type consume_reservation_type = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The consumeReservationType to set. + * @return This builder for chaining. */ public Builder setConsumeReservationType( com.google.cloud.dataproc.v1beta2.ReservationAffinity.Type value) { @@ -872,6 +911,8 @@ public Builder setConsumeReservationType( * * .google.cloud.dataproc.v1beta2.ReservationAffinity.Type consume_reservation_type = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearConsumeReservationType() { @@ -889,6 +930,8 @@ public Builder clearConsumeReservationType() { * * * string key = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; @@ -909,6 +952,8 @@ public java.lang.String getKey() { * * * string key = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; @@ -929,6 +974,9 @@ public com.google.protobuf.ByteString getKeyBytes() { * * * string key = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The key to set. + * @return This builder for chaining. */ public Builder setKey(java.lang.String value) { if (value == null) { @@ -947,6 +995,8 @@ public Builder setKey(java.lang.String value) { * * * string key = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearKey() { @@ -962,6 +1012,9 @@ public Builder clearKey() { * * * string key = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for key to set. + * @return This builder for chaining. */ public Builder setKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -978,9 +1031,9 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValuesIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { values_ = new com.google.protobuf.LazyStringArrayList(values_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000001; } } /** @@ -991,6 +1044,8 @@ private void ensureValuesIsMutable() { * * * repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the values. */ public com.google.protobuf.ProtocolStringList getValuesList() { return values_.getUnmodifiableView(); @@ -1003,6 +1058,8 @@ public com.google.protobuf.ProtocolStringList getValuesList() { * * * repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of values. */ public int getValuesCount() { return values_.size(); @@ -1015,6 +1072,9 @@ public int getValuesCount() { * * * repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The values at the given index. */ public java.lang.String getValues(int index) { return values_.get(index); @@ -1027,6 +1087,9 @@ public java.lang.String getValues(int index) { * * * repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the values at the given index. */ public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); @@ -1039,6 +1102,10 @@ public com.google.protobuf.ByteString getValuesBytes(int index) { * * * repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The values to set. + * @return This builder for chaining. */ public Builder setValues(int index, java.lang.String value) { if (value == null) { @@ -1057,6 +1124,9 @@ public Builder setValues(int index, java.lang.String value) { * * * repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The values to add. + * @return This builder for chaining. */ public Builder addValues(java.lang.String value) { if (value == null) { @@ -1075,6 +1145,9 @@ public Builder addValues(java.lang.String value) { * * * repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The values to add. + * @return This builder for chaining. */ public Builder addAllValues(java.lang.Iterable values) { ensureValuesIsMutable(); @@ -1090,10 +1163,12 @@ public Builder addAllValues(java.lang.Iterable values) { * * * repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearValues() { values_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1105,6 +1180,9 @@ public Builder clearValues() { * * * repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the values to add. + * @return This builder for chaining. */ public Builder addValuesBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ReservationAffinityOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ReservationAffinityOrBuilder.java index 82fe71d9..406ab929 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ReservationAffinityOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ReservationAffinityOrBuilder.java @@ -33,6 +33,8 @@ public interface ReservationAffinityOrBuilder * * .google.cloud.dataproc.v1beta2.ReservationAffinity.Type consume_reservation_type = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for consumeReservationType. */ int getConsumeReservationTypeValue(); /** @@ -45,6 +47,8 @@ public interface ReservationAffinityOrBuilder * * .google.cloud.dataproc.v1beta2.ReservationAffinity.Type consume_reservation_type = 1 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The consumeReservationType. */ com.google.cloud.dataproc.v1beta2.ReservationAffinity.Type getConsumeReservationType(); @@ -56,6 +60,8 @@ public interface ReservationAffinityOrBuilder * * * string key = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The key. */ java.lang.String getKey(); /** @@ -66,6 +72,8 @@ public interface ReservationAffinityOrBuilder * * * string key = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for key. */ com.google.protobuf.ByteString getKeyBytes(); @@ -77,6 +85,8 @@ public interface ReservationAffinityOrBuilder * * * repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the values. */ java.util.List getValuesList(); /** @@ -87,6 +97,8 @@ public interface ReservationAffinityOrBuilder * * * repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of values. */ int getValuesCount(); /** @@ -97,6 +109,9 @@ public interface ReservationAffinityOrBuilder * * * repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The values at the given index. */ java.lang.String getValues(int index); /** @@ -107,6 +122,9 @@ public interface ReservationAffinityOrBuilder * * * repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the values at the given index. */ com.google.protobuf.ByteString getValuesBytes(int index); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SecurityConfig.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SecurityConfig.java index 141ae658..b828d30f 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SecurityConfig.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SecurityConfig.java @@ -39,6 +39,12 @@ private SecurityConfig(com.google.protobuf.GeneratedMessageV3.Builder builder private SecurityConfig() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SecurityConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private SecurityConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -123,6 +128,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * .google.cloud.dataproc.v1beta2.KerberosConfig kerberos_config = 1; + * + * @return Whether the kerberosConfig field is set. */ public boolean hasKerberosConfig() { return kerberosConfig_ != null; @@ -135,6 +142,8 @@ public boolean hasKerberosConfig() { * * * .google.cloud.dataproc.v1beta2.KerberosConfig kerberos_config = 1; + * + * @return The kerberosConfig. */ public com.google.cloud.dataproc.v1beta2.KerberosConfig getKerberosConfig() { return kerberosConfig_ == null @@ -497,6 +506,8 @@ public Builder mergeFrom( * * * .google.cloud.dataproc.v1beta2.KerberosConfig kerberos_config = 1; + * + * @return Whether the kerberosConfig field is set. */ public boolean hasKerberosConfig() { return kerberosConfigBuilder_ != null || kerberosConfig_ != null; @@ -509,6 +520,8 @@ public boolean hasKerberosConfig() { * * * .google.cloud.dataproc.v1beta2.KerberosConfig kerberos_config = 1; + * + * @return The kerberosConfig. */ public com.google.cloud.dataproc.v1beta2.KerberosConfig getKerberosConfig() { if (kerberosConfigBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SecurityConfigOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SecurityConfigOrBuilder.java index e280a1c1..621100bf 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SecurityConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SecurityConfigOrBuilder.java @@ -31,6 +31,8 @@ public interface SecurityConfigOrBuilder * * * .google.cloud.dataproc.v1beta2.KerberosConfig kerberos_config = 1; + * + * @return Whether the kerberosConfig field is set. */ boolean hasKerberosConfig(); /** @@ -41,6 +43,8 @@ public interface SecurityConfigOrBuilder * * * .google.cloud.dataproc.v1beta2.KerberosConfig kerberos_config = 1; + * + * @return The kerberosConfig. */ com.google.cloud.dataproc.v1beta2.KerberosConfig getKerberosConfig(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SharedProto.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SharedProto.java index dcb3083a..3fabb0c4 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SharedProto.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SharedProto.java @@ -46,20 +46,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "lang.org/genproto/googleapis/cloud/datap" + "roc/v1beta2;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(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); com.google.api.AnnotationsProto.getDescriptor(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SoftwareConfig.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SoftwareConfig.java index fc71900a..831e6c4e 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SoftwareConfig.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SoftwareConfig.java @@ -42,6 +42,12 @@ private SoftwareConfig() { optionalComponents_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SoftwareConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -75,11 +81,11 @@ private SoftwareConfig( } case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry properties__ = input.readMessage( @@ -91,9 +97,9 @@ private SoftwareConfig( case 24: { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { optionalComponents_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000002; } optionalComponents_.add(rawValue); break; @@ -104,9 +110,9 @@ private SoftwareConfig( int oldLimit = input.pushLimit(length); while (input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { optionalComponents_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000002; } optionalComponents_.add(rawValue); } @@ -127,7 +133,7 @@ private SoftwareConfig( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { optionalComponents_ = java.util.Collections.unmodifiableList(optionalComponents_); } this.unknownFields = unknownFields.build(); @@ -161,7 +167,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1beta2.SoftwareConfig.Builder.class); } - private int bitField0_; public static final int IMAGE_VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object imageVersion_; /** @@ -178,6 +183,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The imageVersion. */ public java.lang.String getImageVersion() { java.lang.Object ref = imageVersion_; @@ -204,6 +211,8 @@ public java.lang.String getImageVersion() { * * * string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for imageVersion. */ public com.google.protobuf.ByteString getImageVersionBytes() { java.lang.Object ref = imageVersion_; @@ -395,6 +404,8 @@ public com.google.cloud.dataproc.v1beta2.Component convert(java.lang.Integer fro * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @return A list containing the optionalComponents. */ public java.util.List getOptionalComponentsList() { return new com.google.protobuf.Internal.ListAdapter< @@ -409,6 +420,8 @@ public java.util.List getOptionalCo * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @param value The optionalComponents to add. */ public int getOptionalComponentsCount() { return optionalComponents_.size(); @@ -421,6 +434,9 @@ public int getOptionalComponentsCount() { * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @param index The index of the element to return. + * @return The optionalComponents at the given index. */ public com.google.cloud.dataproc.v1beta2.Component getOptionalComponents(int index) { return optionalComponents_converter_.convert(optionalComponents_.get(index)); @@ -433,6 +449,8 @@ public com.google.cloud.dataproc.v1beta2.Component getOptionalComponents(int ind * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @return A list containing the enum numeric values on the wire for optionalComponents. */ public java.util.List getOptionalComponentsValueList() { return optionalComponents_; @@ -445,6 +463,9 @@ public java.util.List getOptionalComponentsValueList() { * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @param index The index of the value to return. + * @return The enum numeric value on the wire of optionalComponents at the given index. */ public int getOptionalComponentsValue(int index) { return optionalComponents_.get(index); @@ -723,7 +744,7 @@ public Builder clear() { internalGetMutableProperties().clear(); optionalComponents_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -752,16 +773,14 @@ public com.google.cloud.dataproc.v1beta2.SoftwareConfig buildPartial() { com.google.cloud.dataproc.v1beta2.SoftwareConfig result = new com.google.cloud.dataproc.v1beta2.SoftwareConfig(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.imageVersion_ = imageVersion_; result.properties_ = internalGetProperties(); result.properties_.makeImmutable(); - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { optionalComponents_ = java.util.Collections.unmodifiableList(optionalComponents_); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); } result.optionalComponents_ = optionalComponents_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -820,7 +839,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.SoftwareConfig other) if (!other.optionalComponents_.isEmpty()) { if (optionalComponents_.isEmpty()) { optionalComponents_ = other.optionalComponents_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureOptionalComponentsIsMutable(); optionalComponents_.addAll(other.optionalComponents_); @@ -873,6 +892,8 @@ public Builder mergeFrom( * * * string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The imageVersion. */ public java.lang.String getImageVersion() { java.lang.Object ref = imageVersion_; @@ -899,6 +920,8 @@ public java.lang.String getImageVersion() { * * * string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for imageVersion. */ public com.google.protobuf.ByteString getImageVersionBytes() { java.lang.Object ref = imageVersion_; @@ -925,6 +948,9 @@ public com.google.protobuf.ByteString getImageVersionBytes() { * * * string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The imageVersion to set. + * @return This builder for chaining. */ public Builder setImageVersion(java.lang.String value) { if (value == null) { @@ -949,6 +975,8 @@ public Builder setImageVersion(java.lang.String value) { * * * string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearImageVersion() { @@ -970,6 +998,9 @@ public Builder clearImageVersion() { * * * string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for imageVersion to set. + * @return This builder for chaining. */ public Builder setImageVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1246,9 +1277,9 @@ public Builder putAllProperties(java.util.Map(optionalComponents_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; } } /** @@ -1259,6 +1290,8 @@ private void ensureOptionalComponentsIsMutable() { * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @return A list containing the optionalComponents. */ public java.util.List getOptionalComponentsList() { return new com.google.protobuf.Internal.ListAdapter< @@ -1273,6 +1306,8 @@ public java.util.List getOptionalCo * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @return The count of optionalComponents. */ public int getOptionalComponentsCount() { return optionalComponents_.size(); @@ -1285,6 +1320,9 @@ public int getOptionalComponentsCount() { * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @param index The index of the element to return. + * @return The optionalComponents at the given index. */ public com.google.cloud.dataproc.v1beta2.Component getOptionalComponents(int index) { return optionalComponents_converter_.convert(optionalComponents_.get(index)); @@ -1297,6 +1335,10 @@ public com.google.cloud.dataproc.v1beta2.Component getOptionalComponents(int ind * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @param index The index to set the value at. + * @param value The optionalComponents to set. + * @return This builder for chaining. */ public Builder setOptionalComponents( int index, com.google.cloud.dataproc.v1beta2.Component value) { @@ -1316,6 +1358,9 @@ public Builder setOptionalComponents( * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @param value The optionalComponents to add. + * @return This builder for chaining. */ public Builder addOptionalComponents(com.google.cloud.dataproc.v1beta2.Component value) { if (value == null) { @@ -1334,6 +1379,9 @@ public Builder addOptionalComponents(com.google.cloud.dataproc.v1beta2.Component * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @param values The optionalComponents to add. + * @return This builder for chaining. */ public Builder addAllOptionalComponents( java.lang.Iterable values) { @@ -1352,10 +1400,12 @@ public Builder addAllOptionalComponents( * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @return This builder for chaining. */ public Builder clearOptionalComponents() { optionalComponents_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -1367,6 +1417,8 @@ public Builder clearOptionalComponents() { * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @return A list containing the enum numeric values on the wire for optionalComponents. */ public java.util.List getOptionalComponentsValueList() { return java.util.Collections.unmodifiableList(optionalComponents_); @@ -1379,6 +1431,9 @@ public java.util.List getOptionalComponentsValueList() { * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @param index The index of the value to return. + * @return The enum numeric value on the wire of optionalComponents at the given index. */ public int getOptionalComponentsValue(int index) { return optionalComponents_.get(index); @@ -1391,6 +1446,10 @@ public int getOptionalComponentsValue(int index) { * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @param index The index of the value to return. + * @return The enum numeric value on the wire of optionalComponents at the given index. + * @return This builder for chaining. */ public Builder setOptionalComponentsValue(int index, int value) { ensureOptionalComponentsIsMutable(); @@ -1406,6 +1465,9 @@ public Builder setOptionalComponentsValue(int index, int value) { * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @param value The enum numeric value on the wire for optionalComponents to add. + * @return This builder for chaining. */ public Builder addOptionalComponentsValue(int value) { ensureOptionalComponentsIsMutable(); @@ -1421,6 +1483,9 @@ public Builder addOptionalComponentsValue(int value) { * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @param values The enum numeric values on the wire for optionalComponents to add. + * @return This builder for chaining. */ public Builder addAllOptionalComponentsValue(java.lang.Iterable values) { ensureOptionalComponentsIsMutable(); diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SoftwareConfigOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SoftwareConfigOrBuilder.java index b4251489..2d627155 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SoftwareConfigOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SoftwareConfigOrBuilder.java @@ -37,6 +37,8 @@ public interface SoftwareConfigOrBuilder * * * string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The imageVersion. */ java.lang.String getImageVersion(); /** @@ -53,6 +55,8 @@ public interface SoftwareConfigOrBuilder * * * string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for imageVersion. */ com.google.protobuf.ByteString getImageVersionBytes(); @@ -193,6 +197,8 @@ public interface SoftwareConfigOrBuilder * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @return A list containing the optionalComponents. */ java.util.List getOptionalComponentsList(); /** @@ -203,6 +209,8 @@ public interface SoftwareConfigOrBuilder * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @return The count of optionalComponents. */ int getOptionalComponentsCount(); /** @@ -213,6 +221,9 @@ public interface SoftwareConfigOrBuilder * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @param index The index of the element to return. + * @return The optionalComponents at the given index. */ com.google.cloud.dataproc.v1beta2.Component getOptionalComponents(int index); /** @@ -223,6 +234,8 @@ public interface SoftwareConfigOrBuilder * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @return A list containing the enum numeric values on the wire for optionalComponents. */ java.util.List getOptionalComponentsValueList(); /** @@ -233,6 +246,9 @@ public interface SoftwareConfigOrBuilder * * * repeated .google.cloud.dataproc.v1beta2.Component optional_components = 3; + * + * @param index The index of the value to return. + * @return The enum numeric value on the wire of optionalComponents at the given index. */ int getOptionalComponentsValue(int index); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkJob.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkJob.java index 8c2ecc8c..27b8ec70 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkJob.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkJob.java @@ -50,6 +50,12 @@ private SparkJob() { archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SparkJob(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -91,9 +97,9 @@ private SparkJob( case 26: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000001; } args_.add(s); break; @@ -101,9 +107,9 @@ private SparkJob( case 34: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { jarFileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000002; } jarFileUris_.add(s); break; @@ -111,9 +117,9 @@ private SparkJob( case 42: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { fileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000004; } fileUris_.add(s); break; @@ -121,20 +127,20 @@ private SparkJob( case 50: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { archiveUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000008; } archiveUris_.add(s); break; } case 58: { - if (!((mutable_bitField0_ & 0x00000040) != 0)) { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000040; + mutable_bitField0_ |= 0x00000010; } com.google.protobuf.MapEntry properties__ = input.readMessage( @@ -173,16 +179,16 @@ private SparkJob( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000008) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000010) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { fileUris_ = fileUris_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000020) != 0)) { + if (((mutable_bitField0_ & 0x00000008) != 0)) { archiveUris_ = archiveUris_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -216,11 +222,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1beta2.SparkJob.Builder.class); } - private int bitField0_; private int driverCase_ = 0; private java.lang.Object driver_; - public enum DriverCase implements com.google.protobuf.Internal.EnumLite { + public enum DriverCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAIN_JAR_FILE_URI(1), MAIN_CLASS(2), DRIVER_NOT_SET(0); @@ -229,7 +237,11 @@ public enum DriverCase implements com.google.protobuf.Internal.EnumLite { private DriverCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static DriverCase valueOf(int value) { return forNumber(value); @@ -266,6 +278,8 @@ public DriverCase getDriverCase() { * * * string main_jar_file_uri = 1; + * + * @return The mainJarFileUri. */ public java.lang.String getMainJarFileUri() { java.lang.Object ref = ""; @@ -291,6 +305,8 @@ public java.lang.String getMainJarFileUri() { * * * string main_jar_file_uri = 1; + * + * @return The bytes for mainJarFileUri. */ public com.google.protobuf.ByteString getMainJarFileUriBytes() { java.lang.Object ref = ""; @@ -319,6 +335,8 @@ public com.google.protobuf.ByteString getMainJarFileUriBytes() { * * * string main_class = 2; + * + * @return The mainClass. */ public java.lang.String getMainClass() { java.lang.Object ref = ""; @@ -345,6 +363,8 @@ public java.lang.String getMainClass() { * * * string main_class = 2; + * + * @return The bytes for mainClass. */ public com.google.protobuf.ByteString getMainClassBytes() { java.lang.Object ref = ""; @@ -375,6 +395,8 @@ public com.google.protobuf.ByteString getMainClassBytes() { * * * repeated string args = 3; + * + * @return A list containing the args. */ public com.google.protobuf.ProtocolStringList getArgsList() { return args_; @@ -389,6 +411,8 @@ public com.google.protobuf.ProtocolStringList getArgsList() { * * * repeated string args = 3; + * + * @return The count of args. */ public int getArgsCount() { return args_.size(); @@ -403,6 +427,9 @@ public int getArgsCount() { * * * repeated string args = 3; + * + * @param index The index of the element to return. + * @return The args at the given index. */ public java.lang.String getArgs(int index) { return args_.get(index); @@ -417,6 +444,9 @@ public java.lang.String getArgs(int index) { * * * repeated string args = 3; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); @@ -433,6 +463,8 @@ public com.google.protobuf.ByteString getArgsBytes(int index) { * * * repeated string jar_file_uris = 4; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_; @@ -446,6 +478,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 4; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -459,6 +493,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 4; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -472,6 +509,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 4; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -488,6 +528,8 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * repeated string file_uris = 5; + * + * @return A list containing the fileUris. */ public com.google.protobuf.ProtocolStringList getFileUrisList() { return fileUris_; @@ -501,6 +543,8 @@ public com.google.protobuf.ProtocolStringList getFileUrisList() { * * * repeated string file_uris = 5; + * + * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); @@ -514,6 +558,9 @@ public int getFileUrisCount() { * * * repeated string file_uris = 5; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ public java.lang.String getFileUris(int index) { return fileUris_.get(index); @@ -527,6 +574,9 @@ public java.lang.String getFileUris(int index) { * * * repeated string file_uris = 5; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ public com.google.protobuf.ByteString getFileUrisBytes(int index) { return fileUris_.getByteString(index); @@ -544,6 +594,8 @@ public com.google.protobuf.ByteString getFileUrisBytes(int index) { * * * repeated string archive_uris = 6; + * + * @return A list containing the archiveUris. */ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { return archiveUris_; @@ -558,6 +610,8 @@ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { * * * repeated string archive_uris = 6; + * + * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); @@ -572,6 +626,9 @@ public int getArchiveUrisCount() { * * * repeated string archive_uris = 6; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); @@ -586,6 +643,9 @@ public java.lang.String getArchiveUris(int index) { * * * repeated string archive_uris = 6; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); @@ -707,6 +767,8 @@ public java.lang.String getPropertiesOrThrow(java.lang.String key) { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 8; + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfig_ != null; @@ -719,6 +781,8 @@ public boolean hasLoggingConfig() { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 8; + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1beta2.LoggingConfig getLoggingConfig() { return loggingConfig_ == null @@ -1090,13 +1154,13 @@ private void maybeForceBuilderInitialization() { public Builder clear() { super.clear(); args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); fileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); internalGetMutableProperties().clear(); if (loggingConfigBuilder_ == null) { loggingConfig_ = null; @@ -1134,31 +1198,30 @@ public com.google.cloud.dataproc.v1beta2.SparkJob buildPartial() { com.google.cloud.dataproc.v1beta2.SparkJob result = new com.google.cloud.dataproc.v1beta2.SparkJob(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (driverCase_ == 1) { result.driver_ = driver_; } if (driverCase_ == 2) { result.driver_ = driver_; } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } result.args_ = args_; - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); } result.jarFileUris_ = jarFileUris_; - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { fileUris_ = fileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); } result.fileUris_ = fileUris_; - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { archiveUris_ = archiveUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); } result.archiveUris_ = archiveUris_; result.properties_ = internalGetProperties(); @@ -1168,7 +1231,6 @@ public com.google.cloud.dataproc.v1beta2.SparkJob buildPartial() { } else { result.loggingConfig_ = loggingConfigBuilder_.build(); } - result.bitField0_ = to_bitField0_; result.driverCase_ = driverCase_; onBuilt(); return result; @@ -1222,7 +1284,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.SparkJob other) { if (!other.args_.isEmpty()) { if (args_.isEmpty()) { args_ = other.args_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureArgsIsMutable(); args_.addAll(other.args_); @@ -1232,7 +1294,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.SparkJob other) { if (!other.jarFileUris_.isEmpty()) { if (jarFileUris_.isEmpty()) { jarFileUris_ = other.jarFileUris_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureJarFileUrisIsMutable(); jarFileUris_.addAll(other.jarFileUris_); @@ -1242,7 +1304,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.SparkJob other) { if (!other.fileUris_.isEmpty()) { if (fileUris_.isEmpty()) { fileUris_ = other.fileUris_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureFileUrisIsMutable(); fileUris_.addAll(other.fileUris_); @@ -1252,7 +1314,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.SparkJob other) { if (!other.archiveUris_.isEmpty()) { if (archiveUris_.isEmpty()) { archiveUris_ = other.archiveUris_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); } else { ensureArchiveUrisIsMutable(); archiveUris_.addAll(other.archiveUris_); @@ -1336,6 +1398,8 @@ public Builder clearDriver() { * * * string main_jar_file_uri = 1; + * + * @return The mainJarFileUri. */ public java.lang.String getMainJarFileUri() { java.lang.Object ref = ""; @@ -1361,6 +1425,8 @@ public java.lang.String getMainJarFileUri() { * * * string main_jar_file_uri = 1; + * + * @return The bytes for mainJarFileUri. */ public com.google.protobuf.ByteString getMainJarFileUriBytes() { java.lang.Object ref = ""; @@ -1386,6 +1452,9 @@ public com.google.protobuf.ByteString getMainJarFileUriBytes() { * * * string main_jar_file_uri = 1; + * + * @param value The mainJarFileUri to set. + * @return This builder for chaining. */ public Builder setMainJarFileUri(java.lang.String value) { if (value == null) { @@ -1404,6 +1473,8 @@ public Builder setMainJarFileUri(java.lang.String value) { * * * string main_jar_file_uri = 1; + * + * @return This builder for chaining. */ public Builder clearMainJarFileUri() { if (driverCase_ == 1) { @@ -1421,6 +1492,9 @@ public Builder clearMainJarFileUri() { * * * string main_jar_file_uri = 1; + * + * @param value The bytes for mainJarFileUri to set. + * @return This builder for chaining. */ public Builder setMainJarFileUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1442,6 +1516,8 @@ public Builder setMainJarFileUriBytes(com.google.protobuf.ByteString value) { * * * string main_class = 2; + * + * @return The mainClass. */ public java.lang.String getMainClass() { java.lang.Object ref = ""; @@ -1468,6 +1544,8 @@ public java.lang.String getMainClass() { * * * string main_class = 2; + * + * @return The bytes for mainClass. */ public com.google.protobuf.ByteString getMainClassBytes() { java.lang.Object ref = ""; @@ -1494,6 +1572,9 @@ public com.google.protobuf.ByteString getMainClassBytes() { * * * string main_class = 2; + * + * @param value The mainClass to set. + * @return This builder for chaining. */ public Builder setMainClass(java.lang.String value) { if (value == null) { @@ -1513,6 +1594,8 @@ public Builder setMainClass(java.lang.String value) { * * * string main_class = 2; + * + * @return This builder for chaining. */ public Builder clearMainClass() { if (driverCase_ == 2) { @@ -1531,6 +1614,9 @@ public Builder clearMainClass() { * * * string main_class = 2; + * + * @param value The bytes for mainClass to set. + * @return This builder for chaining. */ public Builder setMainClassBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1547,9 +1633,9 @@ public Builder setMainClassBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArgsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(args_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000001; } } /** @@ -1562,6 +1648,8 @@ private void ensureArgsIsMutable() { * * * repeated string args = 3; + * + * @return A list containing the args. */ public com.google.protobuf.ProtocolStringList getArgsList() { return args_.getUnmodifiableView(); @@ -1576,6 +1664,8 @@ public com.google.protobuf.ProtocolStringList getArgsList() { * * * repeated string args = 3; + * + * @return The count of args. */ public int getArgsCount() { return args_.size(); @@ -1590,6 +1680,9 @@ public int getArgsCount() { * * * repeated string args = 3; + * + * @param index The index of the element to return. + * @return The args at the given index. */ public java.lang.String getArgs(int index) { return args_.get(index); @@ -1604,6 +1697,9 @@ public java.lang.String getArgs(int index) { * * * repeated string args = 3; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); @@ -1618,6 +1714,10 @@ public com.google.protobuf.ByteString getArgsBytes(int index) { * * * repeated string args = 3; + * + * @param index The index to set the value at. + * @param value The args to set. + * @return This builder for chaining. */ public Builder setArgs(int index, java.lang.String value) { if (value == null) { @@ -1638,6 +1738,9 @@ public Builder setArgs(int index, java.lang.String value) { * * * repeated string args = 3; + * + * @param value The args to add. + * @return This builder for chaining. */ public Builder addArgs(java.lang.String value) { if (value == null) { @@ -1658,6 +1761,9 @@ public Builder addArgs(java.lang.String value) { * * * repeated string args = 3; + * + * @param values The args to add. + * @return This builder for chaining. */ public Builder addAllArgs(java.lang.Iterable values) { ensureArgsIsMutable(); @@ -1675,10 +1781,12 @@ public Builder addAllArgs(java.lang.Iterable values) { * * * repeated string args = 3; + * + * @return This builder for chaining. */ public Builder clearArgs() { args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1692,6 +1800,9 @@ public Builder clearArgs() { * * * repeated string args = 3; + * + * @param value The bytes of the args to add. + * @return This builder for chaining. */ public Builder addArgsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1708,9 +1819,9 @@ public Builder addArgsBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureJarFileUrisIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { jarFileUris_ = new com.google.protobuf.LazyStringArrayList(jarFileUris_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000002; } } /** @@ -1722,6 +1833,8 @@ private void ensureJarFileUrisIsMutable() { * * * repeated string jar_file_uris = 4; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_.getUnmodifiableView(); @@ -1735,6 +1848,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 4; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -1748,6 +1863,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 4; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -1761,6 +1879,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 4; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -1774,6 +1895,10 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * repeated string jar_file_uris = 4; + * + * @param index The index to set the value at. + * @param value The jarFileUris to set. + * @return This builder for chaining. */ public Builder setJarFileUris(int index, java.lang.String value) { if (value == null) { @@ -1793,6 +1918,9 @@ public Builder setJarFileUris(int index, java.lang.String value) { * * * repeated string jar_file_uris = 4; + * + * @param value The jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUris(java.lang.String value) { if (value == null) { @@ -1812,6 +1940,9 @@ public Builder addJarFileUris(java.lang.String value) { * * * repeated string jar_file_uris = 4; + * + * @param values The jarFileUris to add. + * @return This builder for chaining. */ public Builder addAllJarFileUris(java.lang.Iterable values) { ensureJarFileUrisIsMutable(); @@ -1828,10 +1959,12 @@ public Builder addAllJarFileUris(java.lang.Iterable values) { * * * repeated string jar_file_uris = 4; + * + * @return This builder for chaining. */ public Builder clearJarFileUris() { jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -1844,6 +1977,9 @@ public Builder clearJarFileUris() { * * * repeated string jar_file_uris = 4; + * + * @param value The bytes of the jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1860,9 +1996,9 @@ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFileUrisIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { + if (!((bitField0_ & 0x00000004) != 0)) { fileUris_ = new com.google.protobuf.LazyStringArrayList(fileUris_); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000004; } } /** @@ -1874,6 +2010,8 @@ private void ensureFileUrisIsMutable() { * * * repeated string file_uris = 5; + * + * @return A list containing the fileUris. */ public com.google.protobuf.ProtocolStringList getFileUrisList() { return fileUris_.getUnmodifiableView(); @@ -1887,6 +2025,8 @@ public com.google.protobuf.ProtocolStringList getFileUrisList() { * * * repeated string file_uris = 5; + * + * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); @@ -1900,6 +2040,9 @@ public int getFileUrisCount() { * * * repeated string file_uris = 5; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ public java.lang.String getFileUris(int index) { return fileUris_.get(index); @@ -1913,6 +2056,9 @@ public java.lang.String getFileUris(int index) { * * * repeated string file_uris = 5; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ public com.google.protobuf.ByteString getFileUrisBytes(int index) { return fileUris_.getByteString(index); @@ -1926,6 +2072,10 @@ public com.google.protobuf.ByteString getFileUrisBytes(int index) { * * * repeated string file_uris = 5; + * + * @param index The index to set the value at. + * @param value The fileUris to set. + * @return This builder for chaining. */ public Builder setFileUris(int index, java.lang.String value) { if (value == null) { @@ -1945,6 +2095,9 @@ public Builder setFileUris(int index, java.lang.String value) { * * * repeated string file_uris = 5; + * + * @param value The fileUris to add. + * @return This builder for chaining. */ public Builder addFileUris(java.lang.String value) { if (value == null) { @@ -1964,6 +2117,9 @@ public Builder addFileUris(java.lang.String value) { * * * repeated string file_uris = 5; + * + * @param values The fileUris to add. + * @return This builder for chaining. */ public Builder addAllFileUris(java.lang.Iterable values) { ensureFileUrisIsMutable(); @@ -1980,10 +2136,12 @@ public Builder addAllFileUris(java.lang.Iterable values) { * * * repeated string file_uris = 5; + * + * @return This builder for chaining. */ public Builder clearFileUris() { fileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -1996,6 +2154,9 @@ public Builder clearFileUris() { * * * repeated string file_uris = 5; + * + * @param value The bytes of the fileUris to add. + * @return This builder for chaining. */ public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2012,9 +2173,9 @@ public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArchiveUrisIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { + if (!((bitField0_ & 0x00000008) != 0)) { archiveUris_ = new com.google.protobuf.LazyStringArrayList(archiveUris_); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000008; } } /** @@ -2027,6 +2188,8 @@ private void ensureArchiveUrisIsMutable() { * * * repeated string archive_uris = 6; + * + * @return A list containing the archiveUris. */ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { return archiveUris_.getUnmodifiableView(); @@ -2041,6 +2204,8 @@ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { * * * repeated string archive_uris = 6; + * + * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); @@ -2055,6 +2220,9 @@ public int getArchiveUrisCount() { * * * repeated string archive_uris = 6; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); @@ -2069,6 +2237,9 @@ public java.lang.String getArchiveUris(int index) { * * * repeated string archive_uris = 6; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); @@ -2083,6 +2254,10 @@ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { * * * repeated string archive_uris = 6; + * + * @param index The index to set the value at. + * @param value The archiveUris to set. + * @return This builder for chaining. */ public Builder setArchiveUris(int index, java.lang.String value) { if (value == null) { @@ -2103,6 +2278,9 @@ public Builder setArchiveUris(int index, java.lang.String value) { * * * repeated string archive_uris = 6; + * + * @param value The archiveUris to add. + * @return This builder for chaining. */ public Builder addArchiveUris(java.lang.String value) { if (value == null) { @@ -2123,6 +2301,9 @@ public Builder addArchiveUris(java.lang.String value) { * * * repeated string archive_uris = 6; + * + * @param values The archiveUris to add. + * @return This builder for chaining. */ public Builder addAllArchiveUris(java.lang.Iterable values) { ensureArchiveUrisIsMutable(); @@ -2140,10 +2321,12 @@ public Builder addAllArchiveUris(java.lang.Iterable values) { * * * repeated string archive_uris = 6; + * + * @return This builder for chaining. */ public Builder clearArchiveUris() { archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -2157,6 +2340,9 @@ public Builder clearArchiveUris() { * * * repeated string archive_uris = 6; + * + * @param value The bytes of the archiveUris to add. + * @return This builder for chaining. */ public Builder addArchiveUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2359,6 +2545,8 @@ public Builder putAllProperties(java.util.Map * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 8; + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; @@ -2371,6 +2559,8 @@ public boolean hasLoggingConfig() { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 8; + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1beta2.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkJobOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkJobOrBuilder.java index d7a641fb..b259d4ea 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkJobOrBuilder.java @@ -31,6 +31,8 @@ public interface SparkJobOrBuilder * * * string main_jar_file_uri = 1; + * + * @return The mainJarFileUri. */ java.lang.String getMainJarFileUri(); /** @@ -41,6 +43,8 @@ public interface SparkJobOrBuilder * * * string main_jar_file_uri = 1; + * + * @return The bytes for mainJarFileUri. */ com.google.protobuf.ByteString getMainJarFileUriBytes(); @@ -53,6 +57,8 @@ public interface SparkJobOrBuilder * * * string main_class = 2; + * + * @return The mainClass. */ java.lang.String getMainClass(); /** @@ -64,6 +70,8 @@ public interface SparkJobOrBuilder * * * string main_class = 2; + * + * @return The bytes for mainClass. */ com.google.protobuf.ByteString getMainClassBytes(); @@ -77,6 +85,8 @@ public interface SparkJobOrBuilder * * * repeated string args = 3; + * + * @return A list containing the args. */ java.util.List getArgsList(); /** @@ -89,6 +99,8 @@ public interface SparkJobOrBuilder * * * repeated string args = 3; + * + * @return The count of args. */ int getArgsCount(); /** @@ -101,6 +113,9 @@ public interface SparkJobOrBuilder * * * repeated string args = 3; + * + * @param index The index of the element to return. + * @return The args at the given index. */ java.lang.String getArgs(int index); /** @@ -113,6 +128,9 @@ public interface SparkJobOrBuilder * * * repeated string args = 3; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ com.google.protobuf.ByteString getArgsBytes(int index); @@ -125,6 +143,8 @@ public interface SparkJobOrBuilder * * * repeated string jar_file_uris = 4; + * + * @return A list containing the jarFileUris. */ java.util.List getJarFileUrisList(); /** @@ -136,6 +156,8 @@ public interface SparkJobOrBuilder * * * repeated string jar_file_uris = 4; + * + * @return The count of jarFileUris. */ int getJarFileUrisCount(); /** @@ -147,6 +169,9 @@ public interface SparkJobOrBuilder * * * repeated string jar_file_uris = 4; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ java.lang.String getJarFileUris(int index); /** @@ -158,6 +183,9 @@ public interface SparkJobOrBuilder * * * repeated string jar_file_uris = 4; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ com.google.protobuf.ByteString getJarFileUrisBytes(int index); @@ -170,6 +198,8 @@ public interface SparkJobOrBuilder * * * repeated string file_uris = 5; + * + * @return A list containing the fileUris. */ java.util.List getFileUrisList(); /** @@ -181,6 +211,8 @@ public interface SparkJobOrBuilder * * * repeated string file_uris = 5; + * + * @return The count of fileUris. */ int getFileUrisCount(); /** @@ -192,6 +224,9 @@ public interface SparkJobOrBuilder * * * repeated string file_uris = 5; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ java.lang.String getFileUris(int index); /** @@ -203,6 +238,9 @@ public interface SparkJobOrBuilder * * * repeated string file_uris = 5; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ com.google.protobuf.ByteString getFileUrisBytes(int index); @@ -216,6 +254,8 @@ public interface SparkJobOrBuilder * * * repeated string archive_uris = 6; + * + * @return A list containing the archiveUris. */ java.util.List getArchiveUrisList(); /** @@ -228,6 +268,8 @@ public interface SparkJobOrBuilder * * * repeated string archive_uris = 6; + * + * @return The count of archiveUris. */ int getArchiveUrisCount(); /** @@ -240,6 +282,9 @@ public interface SparkJobOrBuilder * * * repeated string archive_uris = 6; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ java.lang.String getArchiveUris(int index); /** @@ -252,6 +297,9 @@ public interface SparkJobOrBuilder * * * repeated string archive_uris = 6; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ com.google.protobuf.ByteString getArchiveUrisBytes(int index); @@ -332,6 +380,8 @@ public interface SparkJobOrBuilder * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 8; + * + * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** @@ -342,6 +392,8 @@ public interface SparkJobOrBuilder * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 8; + * + * @return The loggingConfig. */ com.google.cloud.dataproc.v1beta2.LoggingConfig getLoggingConfig(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkRJob.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkRJob.java index fdb8c447..1d888d47 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkRJob.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkRJob.java @@ -46,6 +46,12 @@ private SparkRJob() { archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SparkRJob(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -80,9 +86,9 @@ private SparkRJob( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } args_.add(s); break; @@ -90,9 +96,9 @@ private SparkRJob( case 26: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { fileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000002; } fileUris_.add(s); break; @@ -100,20 +106,20 @@ private SparkRJob( case 34: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { archiveUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000004; } archiveUris_.add(s); break; } case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000008; } com.google.protobuf.MapEntry properties__ = input.readMessage( @@ -152,13 +158,13 @@ private SparkRJob( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000004) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { fileUris_ = fileUris_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000008) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { archiveUris_ = archiveUris_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -192,7 +198,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1beta2.SparkRJob.Builder.class); } - private int bitField0_; public static final int MAIN_R_FILE_URI_FIELD_NUMBER = 1; private volatile java.lang.Object mainRFileUri_; /** @@ -204,6 +209,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * string main_r_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The mainRFileUri. */ public java.lang.String getMainRFileUri() { java.lang.Object ref = mainRFileUri_; @@ -225,6 +232,8 @@ public java.lang.String getMainRFileUri() { * * * string main_r_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for mainRFileUri. */ public com.google.protobuf.ByteString getMainRFileUriBytes() { java.lang.Object ref = mainRFileUri_; @@ -250,6 +259,8 @@ public com.google.protobuf.ByteString getMainRFileUriBytes() { * * * repeated string args = 2; + * + * @return A list containing the args. */ public com.google.protobuf.ProtocolStringList getArgsList() { return args_; @@ -264,6 +275,8 @@ public com.google.protobuf.ProtocolStringList getArgsList() { * * * repeated string args = 2; + * + * @return The count of args. */ public int getArgsCount() { return args_.size(); @@ -278,6 +291,9 @@ public int getArgsCount() { * * * repeated string args = 2; + * + * @param index The index of the element to return. + * @return The args at the given index. */ public java.lang.String getArgs(int index) { return args_.get(index); @@ -292,6 +308,9 @@ public java.lang.String getArgs(int index) { * * * repeated string args = 2; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); @@ -308,6 +327,8 @@ public com.google.protobuf.ByteString getArgsBytes(int index) { * * * repeated string file_uris = 3; + * + * @return A list containing the fileUris. */ public com.google.protobuf.ProtocolStringList getFileUrisList() { return fileUris_; @@ -321,6 +342,8 @@ public com.google.protobuf.ProtocolStringList getFileUrisList() { * * * repeated string file_uris = 3; + * + * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); @@ -334,6 +357,9 @@ public int getFileUrisCount() { * * * repeated string file_uris = 3; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ public java.lang.String getFileUris(int index) { return fileUris_.get(index); @@ -347,6 +373,9 @@ public java.lang.String getFileUris(int index) { * * * repeated string file_uris = 3; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ public com.google.protobuf.ByteString getFileUrisBytes(int index) { return fileUris_.getByteString(index); @@ -364,6 +393,8 @@ public com.google.protobuf.ByteString getFileUrisBytes(int index) { * * * repeated string archive_uris = 4; + * + * @return A list containing the archiveUris. */ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { return archiveUris_; @@ -378,6 +409,8 @@ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { * * * repeated string archive_uris = 4; + * + * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); @@ -392,6 +425,9 @@ public int getArchiveUrisCount() { * * * repeated string archive_uris = 4; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); @@ -406,6 +442,9 @@ public java.lang.String getArchiveUris(int index) { * * * repeated string archive_uris = 4; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); @@ -527,6 +566,8 @@ public java.lang.String getPropertiesOrThrow(java.lang.String key) { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 6; + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfig_ != null; @@ -539,6 +580,8 @@ public boolean hasLoggingConfig() { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 6; + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1beta2.LoggingConfig getLoggingConfig() { return loggingConfig_ == null @@ -866,11 +909,11 @@ public Builder clear() { mainRFileUri_ = ""; args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); fileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); internalGetMutableProperties().clear(); if (loggingConfigBuilder_ == null) { loggingConfig_ = null; @@ -906,21 +949,20 @@ public com.google.cloud.dataproc.v1beta2.SparkRJob buildPartial() { com.google.cloud.dataproc.v1beta2.SparkRJob result = new com.google.cloud.dataproc.v1beta2.SparkRJob(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.mainRFileUri_ = mainRFileUri_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.args_ = args_; - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { fileUris_ = fileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); } result.fileUris_ = fileUris_; - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { archiveUris_ = archiveUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); } result.archiveUris_ = archiveUris_; result.properties_ = internalGetProperties(); @@ -930,7 +972,6 @@ public com.google.cloud.dataproc.v1beta2.SparkRJob buildPartial() { } else { result.loggingConfig_ = loggingConfigBuilder_.build(); } - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -987,7 +1028,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.SparkRJob other) { if (!other.args_.isEmpty()) { if (args_.isEmpty()) { args_ = other.args_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureArgsIsMutable(); args_.addAll(other.args_); @@ -997,7 +1038,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.SparkRJob other) { if (!other.fileUris_.isEmpty()) { if (fileUris_.isEmpty()) { fileUris_ = other.fileUris_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureFileUrisIsMutable(); fileUris_.addAll(other.fileUris_); @@ -1007,7 +1048,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.SparkRJob other) { if (!other.archiveUris_.isEmpty()) { if (archiveUris_.isEmpty()) { archiveUris_ = other.archiveUris_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureArchiveUrisIsMutable(); archiveUris_.addAll(other.archiveUris_); @@ -1059,6 +1100,8 @@ public Builder mergeFrom( * * * string main_r_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The mainRFileUri. */ public java.lang.String getMainRFileUri() { java.lang.Object ref = mainRFileUri_; @@ -1080,6 +1123,8 @@ public java.lang.String getMainRFileUri() { * * * string main_r_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for mainRFileUri. */ public com.google.protobuf.ByteString getMainRFileUriBytes() { java.lang.Object ref = mainRFileUri_; @@ -1101,6 +1146,9 @@ public com.google.protobuf.ByteString getMainRFileUriBytes() { * * * string main_r_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The mainRFileUri to set. + * @return This builder for chaining. */ public Builder setMainRFileUri(java.lang.String value) { if (value == null) { @@ -1120,6 +1168,8 @@ public Builder setMainRFileUri(java.lang.String value) { * * * string main_r_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearMainRFileUri() { @@ -1136,6 +1186,9 @@ public Builder clearMainRFileUri() { * * * string main_r_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for mainRFileUri to set. + * @return This builder for chaining. */ public Builder setMainRFileUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1152,9 +1205,9 @@ public Builder setMainRFileUriBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArgsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(args_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** @@ -1167,6 +1220,8 @@ private void ensureArgsIsMutable() { * * * repeated string args = 2; + * + * @return A list containing the args. */ public com.google.protobuf.ProtocolStringList getArgsList() { return args_.getUnmodifiableView(); @@ -1181,6 +1236,8 @@ public com.google.protobuf.ProtocolStringList getArgsList() { * * * repeated string args = 2; + * + * @return The count of args. */ public int getArgsCount() { return args_.size(); @@ -1195,6 +1252,9 @@ public int getArgsCount() { * * * repeated string args = 2; + * + * @param index The index of the element to return. + * @return The args at the given index. */ public java.lang.String getArgs(int index) { return args_.get(index); @@ -1209,6 +1269,9 @@ public java.lang.String getArgs(int index) { * * * repeated string args = 2; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); @@ -1223,6 +1286,10 @@ public com.google.protobuf.ByteString getArgsBytes(int index) { * * * repeated string args = 2; + * + * @param index The index to set the value at. + * @param value The args to set. + * @return This builder for chaining. */ public Builder setArgs(int index, java.lang.String value) { if (value == null) { @@ -1243,6 +1310,9 @@ public Builder setArgs(int index, java.lang.String value) { * * * repeated string args = 2; + * + * @param value The args to add. + * @return This builder for chaining. */ public Builder addArgs(java.lang.String value) { if (value == null) { @@ -1263,6 +1333,9 @@ public Builder addArgs(java.lang.String value) { * * * repeated string args = 2; + * + * @param values The args to add. + * @return This builder for chaining. */ public Builder addAllArgs(java.lang.Iterable values) { ensureArgsIsMutable(); @@ -1280,10 +1353,12 @@ public Builder addAllArgs(java.lang.Iterable values) { * * * repeated string args = 2; + * + * @return This builder for chaining. */ public Builder clearArgs() { args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1297,6 +1372,9 @@ public Builder clearArgs() { * * * repeated string args = 2; + * + * @param value The bytes of the args to add. + * @return This builder for chaining. */ public Builder addArgsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1313,9 +1391,9 @@ public Builder addArgsBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFileUrisIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { fileUris_ = new com.google.protobuf.LazyStringArrayList(fileUris_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; } } /** @@ -1327,6 +1405,8 @@ private void ensureFileUrisIsMutable() { * * * repeated string file_uris = 3; + * + * @return A list containing the fileUris. */ public com.google.protobuf.ProtocolStringList getFileUrisList() { return fileUris_.getUnmodifiableView(); @@ -1340,6 +1420,8 @@ public com.google.protobuf.ProtocolStringList getFileUrisList() { * * * repeated string file_uris = 3; + * + * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); @@ -1353,6 +1435,9 @@ public int getFileUrisCount() { * * * repeated string file_uris = 3; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ public java.lang.String getFileUris(int index) { return fileUris_.get(index); @@ -1366,6 +1451,9 @@ public java.lang.String getFileUris(int index) { * * * repeated string file_uris = 3; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ public com.google.protobuf.ByteString getFileUrisBytes(int index) { return fileUris_.getByteString(index); @@ -1379,6 +1467,10 @@ public com.google.protobuf.ByteString getFileUrisBytes(int index) { * * * repeated string file_uris = 3; + * + * @param index The index to set the value at. + * @param value The fileUris to set. + * @return This builder for chaining. */ public Builder setFileUris(int index, java.lang.String value) { if (value == null) { @@ -1398,6 +1490,9 @@ public Builder setFileUris(int index, java.lang.String value) { * * * repeated string file_uris = 3; + * + * @param value The fileUris to add. + * @return This builder for chaining. */ public Builder addFileUris(java.lang.String value) { if (value == null) { @@ -1417,6 +1512,9 @@ public Builder addFileUris(java.lang.String value) { * * * repeated string file_uris = 3; + * + * @param values The fileUris to add. + * @return This builder for chaining. */ public Builder addAllFileUris(java.lang.Iterable values) { ensureFileUrisIsMutable(); @@ -1433,10 +1531,12 @@ public Builder addAllFileUris(java.lang.Iterable values) { * * * repeated string file_uris = 3; + * + * @return This builder for chaining. */ public Builder clearFileUris() { fileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -1449,6 +1549,9 @@ public Builder clearFileUris() { * * * repeated string file_uris = 3; + * + * @param value The bytes of the fileUris to add. + * @return This builder for chaining. */ public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1465,9 +1568,9 @@ public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArchiveUrisIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000004) != 0)) { archiveUris_ = new com.google.protobuf.LazyStringArrayList(archiveUris_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; } } /** @@ -1480,6 +1583,8 @@ private void ensureArchiveUrisIsMutable() { * * * repeated string archive_uris = 4; + * + * @return A list containing the archiveUris. */ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { return archiveUris_.getUnmodifiableView(); @@ -1494,6 +1599,8 @@ public com.google.protobuf.ProtocolStringList getArchiveUrisList() { * * * repeated string archive_uris = 4; + * + * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); @@ -1508,6 +1615,9 @@ public int getArchiveUrisCount() { * * * repeated string archive_uris = 4; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); @@ -1522,6 +1632,9 @@ public java.lang.String getArchiveUris(int index) { * * * repeated string archive_uris = 4; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); @@ -1536,6 +1649,10 @@ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { * * * repeated string archive_uris = 4; + * + * @param index The index to set the value at. + * @param value The archiveUris to set. + * @return This builder for chaining. */ public Builder setArchiveUris(int index, java.lang.String value) { if (value == null) { @@ -1556,6 +1673,9 @@ public Builder setArchiveUris(int index, java.lang.String value) { * * * repeated string archive_uris = 4; + * + * @param value The archiveUris to add. + * @return This builder for chaining. */ public Builder addArchiveUris(java.lang.String value) { if (value == null) { @@ -1576,6 +1696,9 @@ public Builder addArchiveUris(java.lang.String value) { * * * repeated string archive_uris = 4; + * + * @param values The archiveUris to add. + * @return This builder for chaining. */ public Builder addAllArchiveUris(java.lang.Iterable values) { ensureArchiveUrisIsMutable(); @@ -1593,10 +1716,12 @@ public Builder addAllArchiveUris(java.lang.Iterable values) { * * * repeated string archive_uris = 4; + * + * @return This builder for chaining. */ public Builder clearArchiveUris() { archiveUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -1610,6 +1735,9 @@ public Builder clearArchiveUris() { * * * repeated string archive_uris = 4; + * + * @param value The bytes of the archiveUris to add. + * @return This builder for chaining. */ public Builder addArchiveUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1812,6 +1940,8 @@ public Builder putAllProperties(java.util.Map * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 6; + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; @@ -1824,6 +1954,8 @@ public boolean hasLoggingConfig() { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 6; + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1beta2.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkRJobOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkRJobOrBuilder.java index df0dad63..b8caae17 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkRJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkRJobOrBuilder.java @@ -32,6 +32,8 @@ public interface SparkRJobOrBuilder * * * string main_r_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The mainRFileUri. */ java.lang.String getMainRFileUri(); /** @@ -43,6 +45,8 @@ public interface SparkRJobOrBuilder * * * string main_r_file_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for mainRFileUri. */ com.google.protobuf.ByteString getMainRFileUriBytes(); @@ -56,6 +60,8 @@ public interface SparkRJobOrBuilder * * * repeated string args = 2; + * + * @return A list containing the args. */ java.util.List getArgsList(); /** @@ -68,6 +74,8 @@ public interface SparkRJobOrBuilder * * * repeated string args = 2; + * + * @return The count of args. */ int getArgsCount(); /** @@ -80,6 +88,9 @@ public interface SparkRJobOrBuilder * * * repeated string args = 2; + * + * @param index The index of the element to return. + * @return The args at the given index. */ java.lang.String getArgs(int index); /** @@ -92,6 +103,9 @@ public interface SparkRJobOrBuilder * * * repeated string args = 2; + * + * @param index The index of the value to return. + * @return The bytes of the args at the given index. */ com.google.protobuf.ByteString getArgsBytes(int index); @@ -104,6 +118,8 @@ public interface SparkRJobOrBuilder * * * repeated string file_uris = 3; + * + * @return A list containing the fileUris. */ java.util.List getFileUrisList(); /** @@ -115,6 +131,8 @@ public interface SparkRJobOrBuilder * * * repeated string file_uris = 3; + * + * @return The count of fileUris. */ int getFileUrisCount(); /** @@ -126,6 +144,9 @@ public interface SparkRJobOrBuilder * * * repeated string file_uris = 3; + * + * @param index The index of the element to return. + * @return The fileUris at the given index. */ java.lang.String getFileUris(int index); /** @@ -137,6 +158,9 @@ public interface SparkRJobOrBuilder * * * repeated string file_uris = 3; + * + * @param index The index of the value to return. + * @return The bytes of the fileUris at the given index. */ com.google.protobuf.ByteString getFileUrisBytes(int index); @@ -150,6 +174,8 @@ public interface SparkRJobOrBuilder * * * repeated string archive_uris = 4; + * + * @return A list containing the archiveUris. */ java.util.List getArchiveUrisList(); /** @@ -162,6 +188,8 @@ public interface SparkRJobOrBuilder * * * repeated string archive_uris = 4; + * + * @return The count of archiveUris. */ int getArchiveUrisCount(); /** @@ -174,6 +202,9 @@ public interface SparkRJobOrBuilder * * * repeated string archive_uris = 4; + * + * @param index The index of the element to return. + * @return The archiveUris at the given index. */ java.lang.String getArchiveUris(int index); /** @@ -186,6 +217,9 @@ public interface SparkRJobOrBuilder * * * repeated string archive_uris = 4; + * + * @param index The index of the value to return. + * @return The bytes of the archiveUris at the given index. */ com.google.protobuf.ByteString getArchiveUrisBytes(int index); @@ -266,6 +300,8 @@ public interface SparkRJobOrBuilder * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 6; + * + * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** @@ -276,6 +312,8 @@ public interface SparkRJobOrBuilder * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 6; + * + * @return The loggingConfig. */ com.google.cloud.dataproc.v1beta2.LoggingConfig getLoggingConfig(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkSqlJob.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkSqlJob.java index 190d6911..ac4536ad 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkSqlJob.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkSqlJob.java @@ -42,6 +42,12 @@ private SparkSqlJob() { jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SparkSqlJob(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -91,11 +97,11 @@ private SparkSqlJob( } case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { scriptVariables_ = com.google.protobuf.MapField.newMapField( ScriptVariablesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry scriptVariables__ = input.readMessage( @@ -108,11 +114,11 @@ private SparkSqlJob( } case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry properties__ = input.readMessage( @@ -140,9 +146,9 @@ private SparkSqlJob( case 450: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { jarFileUris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000004; } jarFileUris_.add(s); break; @@ -161,7 +167,7 @@ private SparkSqlJob( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000010) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -197,11 +203,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1beta2.SparkSqlJob.Builder.class); } - private int bitField0_; private int queriesCase_ = 0; private java.lang.Object queries_; - public enum QueriesCase implements com.google.protobuf.Internal.EnumLite { + public enum QueriesCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { QUERY_FILE_URI(1), QUERY_LIST(2), QUERIES_NOT_SET(0); @@ -210,7 +218,11 @@ public enum QueriesCase implements com.google.protobuf.Internal.EnumLite { private QueriesCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static QueriesCase valueOf(int value) { return forNumber(value); @@ -247,6 +259,8 @@ public QueriesCase getQueriesCase() { * * * string query_file_uri = 1; + * + * @return The queryFileUri. */ public java.lang.String getQueryFileUri() { java.lang.Object ref = ""; @@ -272,6 +286,8 @@ public java.lang.String getQueryFileUri() { * * * string query_file_uri = 1; + * + * @return The bytes for queryFileUri. */ public com.google.protobuf.ByteString getQueryFileUriBytes() { java.lang.Object ref = ""; @@ -299,6 +315,8 @@ public com.google.protobuf.ByteString getQueryFileUriBytes() { * * * .google.cloud.dataproc.v1beta2.QueryList query_list = 2; + * + * @return Whether the queryList field is set. */ public boolean hasQueryList() { return queriesCase_ == 2; @@ -311,6 +329,8 @@ public boolean hasQueryList() { * * * .google.cloud.dataproc.v1beta2.QueryList query_list = 2; + * + * @return The queryList. */ public com.google.cloud.dataproc.v1beta2.QueryList getQueryList() { if (queriesCase_ == 2) { @@ -546,6 +566,8 @@ public java.lang.String getPropertiesOrThrow(java.lang.String key) { * * * repeated string jar_file_uris = 56; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_; @@ -558,6 +580,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 56; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -570,6 +594,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 56; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -582,6 +609,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 56; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -597,6 +627,8 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 6; + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfig_ != null; @@ -609,6 +641,8 @@ public boolean hasLoggingConfig() { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 6; + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1beta2.LoggingConfig getLoggingConfig() { return loggingConfig_ == null @@ -952,7 +986,7 @@ public Builder clear() { internalGetMutableScriptVariables().clear(); internalGetMutableProperties().clear(); jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); if (loggingConfigBuilder_ == null) { loggingConfig_ = null; } else { @@ -989,7 +1023,6 @@ public com.google.cloud.dataproc.v1beta2.SparkSqlJob buildPartial() { com.google.cloud.dataproc.v1beta2.SparkSqlJob result = new com.google.cloud.dataproc.v1beta2.SparkSqlJob(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (queriesCase_ == 1) { result.queries_ = queries_; } @@ -1004,9 +1037,9 @@ public com.google.cloud.dataproc.v1beta2.SparkSqlJob buildPartial() { result.scriptVariables_.makeImmutable(); result.properties_ = internalGetProperties(); result.properties_.makeImmutable(); - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { jarFileUris_ = jarFileUris_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); } result.jarFileUris_ = jarFileUris_; if (loggingConfigBuilder_ == null) { @@ -1014,7 +1047,6 @@ public com.google.cloud.dataproc.v1beta2.SparkSqlJob buildPartial() { } else { result.loggingConfig_ = loggingConfigBuilder_.build(); } - result.bitField0_ = to_bitField0_; result.queriesCase_ = queriesCase_; onBuilt(); return result; @@ -1070,7 +1102,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.SparkSqlJob other) { if (!other.jarFileUris_.isEmpty()) { if (jarFileUris_.isEmpty()) { jarFileUris_ = other.jarFileUris_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureJarFileUrisIsMutable(); jarFileUris_.addAll(other.jarFileUris_); @@ -1151,6 +1183,8 @@ public Builder clearQueries() { * * * string query_file_uri = 1; + * + * @return The queryFileUri. */ public java.lang.String getQueryFileUri() { java.lang.Object ref = ""; @@ -1176,6 +1210,8 @@ public java.lang.String getQueryFileUri() { * * * string query_file_uri = 1; + * + * @return The bytes for queryFileUri. */ public com.google.protobuf.ByteString getQueryFileUriBytes() { java.lang.Object ref = ""; @@ -1201,6 +1237,9 @@ public com.google.protobuf.ByteString getQueryFileUriBytes() { * * * string query_file_uri = 1; + * + * @param value The queryFileUri to set. + * @return This builder for chaining. */ public Builder setQueryFileUri(java.lang.String value) { if (value == null) { @@ -1219,6 +1258,8 @@ public Builder setQueryFileUri(java.lang.String value) { * * * string query_file_uri = 1; + * + * @return This builder for chaining. */ public Builder clearQueryFileUri() { if (queriesCase_ == 1) { @@ -1236,6 +1277,9 @@ public Builder clearQueryFileUri() { * * * string query_file_uri = 1; + * + * @param value The bytes for queryFileUri to set. + * @return This builder for chaining. */ public Builder setQueryFileUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1261,6 +1305,8 @@ public Builder setQueryFileUriBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dataproc.v1beta2.QueryList query_list = 2; + * + * @return Whether the queryList field is set. */ public boolean hasQueryList() { return queriesCase_ == 2; @@ -1273,6 +1319,8 @@ public boolean hasQueryList() { * * * .google.cloud.dataproc.v1beta2.QueryList query_list = 2; + * + * @return The queryList. */ public com.google.cloud.dataproc.v1beta2.QueryList getQueryList() { if (queryListBuilder_ == null) { @@ -1786,9 +1834,9 @@ public Builder putAllProperties(java.util.Map * * repeated string jar_file_uris = 56; + * + * @return A list containing the jarFileUris. */ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { return jarFileUris_.getUnmodifiableView(); @@ -1811,6 +1861,8 @@ public com.google.protobuf.ProtocolStringList getJarFileUrisList() { * * * repeated string jar_file_uris = 56; + * + * @return The count of jarFileUris. */ public int getJarFileUrisCount() { return jarFileUris_.size(); @@ -1823,6 +1875,9 @@ public int getJarFileUrisCount() { * * * repeated string jar_file_uris = 56; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ public java.lang.String getJarFileUris(int index) { return jarFileUris_.get(index); @@ -1835,6 +1890,9 @@ public java.lang.String getJarFileUris(int index) { * * * repeated string jar_file_uris = 56; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { return jarFileUris_.getByteString(index); @@ -1847,6 +1905,10 @@ public com.google.protobuf.ByteString getJarFileUrisBytes(int index) { * * * repeated string jar_file_uris = 56; + * + * @param index The index to set the value at. + * @param value The jarFileUris to set. + * @return This builder for chaining. */ public Builder setJarFileUris(int index, java.lang.String value) { if (value == null) { @@ -1865,6 +1927,9 @@ public Builder setJarFileUris(int index, java.lang.String value) { * * * repeated string jar_file_uris = 56; + * + * @param value The jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUris(java.lang.String value) { if (value == null) { @@ -1883,6 +1948,9 @@ public Builder addJarFileUris(java.lang.String value) { * * * repeated string jar_file_uris = 56; + * + * @param values The jarFileUris to add. + * @return This builder for chaining. */ public Builder addAllJarFileUris(java.lang.Iterable values) { ensureJarFileUrisIsMutable(); @@ -1898,10 +1966,12 @@ public Builder addAllJarFileUris(java.lang.Iterable values) { * * * repeated string jar_file_uris = 56; + * + * @return This builder for chaining. */ public Builder clearJarFileUris() { jarFileUris_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -1913,6 +1983,9 @@ public Builder clearJarFileUris() { * * * repeated string jar_file_uris = 56; + * + * @param value The bytes of the jarFileUris to add. + * @return This builder for chaining. */ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1939,6 +2012,8 @@ public Builder addJarFileUrisBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 6; + * + * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; @@ -1951,6 +2026,8 @@ public boolean hasLoggingConfig() { * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 6; + * + * @return The loggingConfig. */ public com.google.cloud.dataproc.v1beta2.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkSqlJobOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkSqlJobOrBuilder.java index cf106733..a2687834 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkSqlJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkSqlJobOrBuilder.java @@ -31,6 +31,8 @@ public interface SparkSqlJobOrBuilder * * * string query_file_uri = 1; + * + * @return The queryFileUri. */ java.lang.String getQueryFileUri(); /** @@ -41,6 +43,8 @@ public interface SparkSqlJobOrBuilder * * * string query_file_uri = 1; + * + * @return The bytes for queryFileUri. */ com.google.protobuf.ByteString getQueryFileUriBytes(); @@ -52,6 +56,8 @@ public interface SparkSqlJobOrBuilder * * * .google.cloud.dataproc.v1beta2.QueryList query_list = 2; + * + * @return Whether the queryList field is set. */ boolean hasQueryList(); /** @@ -62,6 +68,8 @@ public interface SparkSqlJobOrBuilder * * * .google.cloud.dataproc.v1beta2.QueryList query_list = 2; + * + * @return The queryList. */ com.google.cloud.dataproc.v1beta2.QueryList getQueryList(); /** @@ -206,6 +214,8 @@ public interface SparkSqlJobOrBuilder * * * repeated string jar_file_uris = 56; + * + * @return A list containing the jarFileUris. */ java.util.List getJarFileUrisList(); /** @@ -216,6 +226,8 @@ public interface SparkSqlJobOrBuilder * * * repeated string jar_file_uris = 56; + * + * @return The count of jarFileUris. */ int getJarFileUrisCount(); /** @@ -226,6 +238,9 @@ public interface SparkSqlJobOrBuilder * * * repeated string jar_file_uris = 56; + * + * @param index The index of the element to return. + * @return The jarFileUris at the given index. */ java.lang.String getJarFileUris(int index); /** @@ -236,6 +251,9 @@ public interface SparkSqlJobOrBuilder * * * repeated string jar_file_uris = 56; + * + * @param index The index of the value to return. + * @return The bytes of the jarFileUris at the given index. */ com.google.protobuf.ByteString getJarFileUrisBytes(int index); @@ -247,6 +265,8 @@ public interface SparkSqlJobOrBuilder * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 6; + * + * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** @@ -257,6 +277,8 @@ public interface SparkSqlJobOrBuilder * * * .google.cloud.dataproc.v1beta2.LoggingConfig logging_config = 6; + * + * @return The loggingConfig. */ com.google.cloud.dataproc.v1beta2.LoggingConfig getLoggingConfig(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SubmitJobRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SubmitJobRequest.java index 86d661f3..cf9e6410 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SubmitJobRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SubmitJobRequest.java @@ -43,6 +43,12 @@ private SubmitJobRequest() { requestId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SubmitJobRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private SubmitJobRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -149,6 +154,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -170,6 +177,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -193,6 +202,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -213,6 +224,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -237,6 +250,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * .google.cloud.dataproc.v1beta2.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the job field is set. */ public boolean hasJob() { return job_ != null; @@ -250,6 +265,8 @@ public boolean hasJob() { * * .google.cloud.dataproc.v1beta2.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The job. */ public com.google.cloud.dataproc.v1beta2.Job getJob() { return job_ == null ? com.google.cloud.dataproc.v1beta2.Job.getDefaultInstance() : job_; @@ -286,6 +303,8 @@ public com.google.cloud.dataproc.v1beta2.JobOrBuilder getJobOrBuilder() { * * * string request_id = 4; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -314,6 +333,8 @@ public java.lang.String getRequestId() { * * * string request_id = 4; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -715,6 +736,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -736,6 +759,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -757,6 +782,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -776,6 +804,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -792,6 +822,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -813,6 +846,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -833,6 +868,8 @@ public java.lang.String getRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -853,6 +890,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -871,6 +911,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -886,6 +928,9 @@ public Builder clearRegion() { * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -913,6 +958,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1beta2.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; @@ -926,6 +973,8 @@ public boolean hasJob() { * * .google.cloud.dataproc.v1beta2.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The job. */ public com.google.cloud.dataproc.v1beta2.Job getJob() { if (jobBuilder_ == null) { @@ -1101,6 +1150,8 @@ public com.google.cloud.dataproc.v1beta2.JobOrBuilder getJobOrBuilder() { * * * string request_id = 4; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -1129,6 +1180,8 @@ public java.lang.String getRequestId() { * * * string request_id = 4; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -1157,6 +1210,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * * * string request_id = 4; + * + * @param value The requestId to set. + * @return This builder for chaining. */ public Builder setRequestId(java.lang.String value) { if (value == null) { @@ -1183,6 +1239,8 @@ public Builder setRequestId(java.lang.String value) { * * * string request_id = 4; + * + * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1206,6 +1264,9 @@ public Builder clearRequestId() { * * * string request_id = 4; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. */ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SubmitJobRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SubmitJobRequestOrBuilder.java index c5584bca..ab91f2c9 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SubmitJobRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SubmitJobRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface SubmitJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface SubmitJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface SubmitJobRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface SubmitJobRequestOrBuilder * * * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -76,6 +84,8 @@ public interface SubmitJobRequestOrBuilder * * .google.cloud.dataproc.v1beta2.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the job field is set. */ boolean hasJob(); /** @@ -87,6 +97,8 @@ public interface SubmitJobRequestOrBuilder * * .google.cloud.dataproc.v1beta2.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The job. */ com.google.cloud.dataproc.v1beta2.Job getJob(); /** @@ -117,6 +129,8 @@ public interface SubmitJobRequestOrBuilder * * * string request_id = 4; + * + * @return The requestId. */ java.lang.String getRequestId(); /** @@ -135,6 +149,8 @@ public interface SubmitJobRequestOrBuilder * * * string request_id = 4; + * + * @return The bytes for requestId. */ com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/TemplateParameter.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/TemplateParameter.java index ef000bb1..ba46defd 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/TemplateParameter.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/TemplateParameter.java @@ -51,6 +51,12 @@ private TemplateParameter() { description_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new TemplateParameter(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -85,9 +91,9 @@ private TemplateParameter( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { fields_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } fields_.add(s); break; @@ -130,7 +136,7 @@ private TemplateParameter( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { fields_ = fields_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -153,7 +159,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dataproc.v1beta2.TemplateParameter.Builder.class); } - private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** @@ -170,6 +175,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -196,6 +203,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -254,6 +263,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * repeated string fields = 2; + * + * @return A list containing the fields. */ public com.google.protobuf.ProtocolStringList getFieldsList() { return fields_; @@ -301,6 +312,8 @@ public com.google.protobuf.ProtocolStringList getFieldsList() { * * * repeated string fields = 2; + * + * @return The count of fields. */ public int getFieldsCount() { return fields_.size(); @@ -348,6 +361,9 @@ public int getFieldsCount() { * * * repeated string fields = 2; + * + * @param index The index of the element to return. + * @return The fields at the given index. */ public java.lang.String getFields(int index) { return fields_.get(index); @@ -395,6 +411,9 @@ public java.lang.String getFields(int index) { * * * repeated string fields = 2; + * + * @param index The index of the value to return. + * @return The bytes of the fields at the given index. */ public com.google.protobuf.ByteString getFieldsBytes(int index) { return fields_.getByteString(index); @@ -411,6 +430,8 @@ public com.google.protobuf.ByteString getFieldsBytes(int index) { * * * string description = 3; + * + * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; @@ -432,6 +453,8 @@ public java.lang.String getDescription() { * * * string description = 3; + * + * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; @@ -455,6 +478,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * * .google.cloud.dataproc.v1beta2.ParameterValidation validation = 4; + * + * @return Whether the validation field is set. */ public boolean hasValidation() { return validation_ != null; @@ -467,6 +492,8 @@ public boolean hasValidation() { * * * .google.cloud.dataproc.v1beta2.ParameterValidation validation = 4; + * + * @return The validation. */ public com.google.cloud.dataproc.v1beta2.ParameterValidation getValidation() { return validation_ == null @@ -740,7 +767,7 @@ public Builder clear() { name_ = ""; fields_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); description_ = ""; if (validationBuilder_ == null) { @@ -777,11 +804,10 @@ public com.google.cloud.dataproc.v1beta2.TemplateParameter buildPartial() { com.google.cloud.dataproc.v1beta2.TemplateParameter result = new com.google.cloud.dataproc.v1beta2.TemplateParameter(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.name_ = name_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { fields_ = fields_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.fields_ = fields_; result.description_ = description_; @@ -790,7 +816,6 @@ public com.google.cloud.dataproc.v1beta2.TemplateParameter buildPartial() { } else { result.validation_ = validationBuilder_.build(); } - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -848,7 +873,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.TemplateParameter oth if (!other.fields_.isEmpty()) { if (fields_.isEmpty()) { fields_ = other.fields_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFieldsIsMutable(); fields_.addAll(other.fields_); @@ -909,6 +934,8 @@ public Builder mergeFrom( * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -935,6 +962,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -961,6 +990,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -985,6 +1017,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -1006,6 +1040,9 @@ public Builder clearName() { * * * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1022,9 +1059,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFieldsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { fields_ = new com.google.protobuf.LazyStringArrayList(fields_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** @@ -1070,6 +1107,8 @@ private void ensureFieldsIsMutable() { * * * repeated string fields = 2; + * + * @return A list containing the fields. */ public com.google.protobuf.ProtocolStringList getFieldsList() { return fields_.getUnmodifiableView(); @@ -1117,6 +1156,8 @@ public com.google.protobuf.ProtocolStringList getFieldsList() { * * * repeated string fields = 2; + * + * @return The count of fields. */ public int getFieldsCount() { return fields_.size(); @@ -1164,6 +1205,9 @@ public int getFieldsCount() { * * * repeated string fields = 2; + * + * @param index The index of the element to return. + * @return The fields at the given index. */ public java.lang.String getFields(int index) { return fields_.get(index); @@ -1211,6 +1255,9 @@ public java.lang.String getFields(int index) { * * * repeated string fields = 2; + * + * @param index The index of the value to return. + * @return The bytes of the fields at the given index. */ public com.google.protobuf.ByteString getFieldsBytes(int index) { return fields_.getByteString(index); @@ -1258,6 +1305,10 @@ public com.google.protobuf.ByteString getFieldsBytes(int index) { * * * repeated string fields = 2; + * + * @param index The index to set the value at. + * @param value The fields to set. + * @return This builder for chaining. */ public Builder setFields(int index, java.lang.String value) { if (value == null) { @@ -1311,6 +1362,9 @@ public Builder setFields(int index, java.lang.String value) { * * * repeated string fields = 2; + * + * @param value The fields to add. + * @return This builder for chaining. */ public Builder addFields(java.lang.String value) { if (value == null) { @@ -1364,6 +1418,9 @@ public Builder addFields(java.lang.String value) { * * * repeated string fields = 2; + * + * @param values The fields to add. + * @return This builder for chaining. */ public Builder addAllFields(java.lang.Iterable values) { ensureFieldsIsMutable(); @@ -1414,10 +1471,12 @@ public Builder addAllFields(java.lang.Iterable values) { * * * repeated string fields = 2; + * + * @return This builder for chaining. */ public Builder clearFields() { fields_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1464,6 +1523,9 @@ public Builder clearFields() { * * * repeated string fields = 2; + * + * @param value The bytes of the fields to add. + * @return This builder for chaining. */ public Builder addFieldsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1486,6 +1548,8 @@ public Builder addFieldsBytes(com.google.protobuf.ByteString value) { * * * string description = 3; + * + * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; @@ -1507,6 +1571,8 @@ public java.lang.String getDescription() { * * * string description = 3; + * + * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; @@ -1528,6 +1594,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * * string description = 3; + * + * @param value The description to set. + * @return This builder for chaining. */ public Builder setDescription(java.lang.String value) { if (value == null) { @@ -1547,6 +1616,8 @@ public Builder setDescription(java.lang.String value) { * * * string description = 3; + * + * @return This builder for chaining. */ public Builder clearDescription() { @@ -1563,6 +1634,9 @@ public Builder clearDescription() { * * * string description = 3; + * + * @param value The bytes for description to set. + * @return This builder for chaining. */ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1589,6 +1663,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dataproc.v1beta2.ParameterValidation validation = 4; + * + * @return Whether the validation field is set. */ public boolean hasValidation() { return validationBuilder_ != null || validation_ != null; @@ -1601,6 +1677,8 @@ public boolean hasValidation() { * * * .google.cloud.dataproc.v1beta2.ParameterValidation validation = 4; + * + * @return The validation. */ public com.google.cloud.dataproc.v1beta2.ParameterValidation getValidation() { if (validationBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/TemplateParameterOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/TemplateParameterOrBuilder.java index 95a74401..dde2530e 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/TemplateParameterOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/TemplateParameterOrBuilder.java @@ -37,6 +37,8 @@ public interface TemplateParameterOrBuilder * * * string name = 1; + * + * @return The name. */ java.lang.String getName(); /** @@ -53,6 +55,8 @@ public interface TemplateParameterOrBuilder * * * string name = 1; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -99,6 +103,8 @@ public interface TemplateParameterOrBuilder * * * repeated string fields = 2; + * + * @return A list containing the fields. */ java.util.List getFieldsList(); /** @@ -144,6 +150,8 @@ public interface TemplateParameterOrBuilder * * * repeated string fields = 2; + * + * @return The count of fields. */ int getFieldsCount(); /** @@ -189,6 +197,9 @@ public interface TemplateParameterOrBuilder * * * repeated string fields = 2; + * + * @param index The index of the element to return. + * @return The fields at the given index. */ java.lang.String getFields(int index); /** @@ -234,6 +245,9 @@ public interface TemplateParameterOrBuilder * * * repeated string fields = 2; + * + * @param index The index of the value to return. + * @return The bytes of the fields at the given index. */ com.google.protobuf.ByteString getFieldsBytes(int index); @@ -246,6 +260,8 @@ public interface TemplateParameterOrBuilder * * * string description = 3; + * + * @return The description. */ java.lang.String getDescription(); /** @@ -257,6 +273,8 @@ public interface TemplateParameterOrBuilder * * * string description = 3; + * + * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); @@ -268,6 +286,8 @@ public interface TemplateParameterOrBuilder * * * .google.cloud.dataproc.v1beta2.ParameterValidation validation = 4; + * + * @return Whether the validation field is set. */ boolean hasValidation(); /** @@ -278,6 +298,8 @@ public interface TemplateParameterOrBuilder * * * .google.cloud.dataproc.v1beta2.ParameterValidation validation = 4; + * + * @return The validation. */ com.google.cloud.dataproc.v1beta2.ParameterValidation getValidation(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateAutoscalingPolicyRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateAutoscalingPolicyRequest.java index 17852b7f..0b32a52c 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateAutoscalingPolicyRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateAutoscalingPolicyRequest.java @@ -40,6 +40,12 @@ private UpdateAutoscalingPolicyRequest( private UpdateAutoscalingPolicyRequest() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateAutoscalingPolicyRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -53,7 +59,6 @@ private UpdateAutoscalingPolicyRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -127,6 +132,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * .google.cloud.dataproc.v1beta2.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return Whether the policy field is set. */ public boolean hasPolicy() { return policy_ != null; @@ -141,6 +148,8 @@ public boolean hasPolicy() { * * .google.cloud.dataproc.v1beta2.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The policy. */ public com.google.cloud.dataproc.v1beta2.AutoscalingPolicy getPolicy() { return policy_ == null @@ -513,6 +522,8 @@ public Builder mergeFrom( * * .google.cloud.dataproc.v1beta2.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return Whether the policy field is set. */ public boolean hasPolicy() { return policyBuilder_ != null || policy_ != null; @@ -527,6 +538,8 @@ public boolean hasPolicy() { * * .google.cloud.dataproc.v1beta2.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The policy. */ public com.google.cloud.dataproc.v1beta2.AutoscalingPolicy getPolicy() { if (policyBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateAutoscalingPolicyRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateAutoscalingPolicyRequestOrBuilder.java index c98e96b1..9f28b884 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateAutoscalingPolicyRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateAutoscalingPolicyRequestOrBuilder.java @@ -33,6 +33,8 @@ public interface UpdateAutoscalingPolicyRequestOrBuilder * * .google.cloud.dataproc.v1beta2.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return Whether the policy field is set. */ boolean hasPolicy(); /** @@ -45,6 +47,8 @@ public interface UpdateAutoscalingPolicyRequestOrBuilder * * .google.cloud.dataproc.v1beta2.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The policy. */ com.google.cloud.dataproc.v1beta2.AutoscalingPolicy getPolicy(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateClusterRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateClusterRequest.java index ee809ec2..a8e042e1 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateClusterRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateClusterRequest.java @@ -44,6 +44,12 @@ private UpdateClusterRequest() { requestId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateClusterRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -57,7 +63,6 @@ private UpdateClusterRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -187,6 +192,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -208,6 +215,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -231,6 +240,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -251,6 +262,8 @@ public java.lang.String getRegion() { * * * string region = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -274,6 +287,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -294,6 +309,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -319,6 +336,8 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * .google.cloud.dataproc.v1beta2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the cluster field is set. */ public boolean hasCluster() { return cluster_ != null; @@ -333,6 +352,8 @@ public boolean hasCluster() { * * .google.cloud.dataproc.v1beta2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The cluster. */ public com.google.cloud.dataproc.v1beta2.Cluster getCluster() { return cluster_ == null @@ -372,6 +393,8 @@ public com.google.cloud.dataproc.v1beta2.ClusterOrBuilder getClusterOrBuilder() * * .google.protobuf.Duration graceful_decommission_timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the gracefulDecommissionTimeout field is set. */ public boolean hasGracefulDecommissionTimeout() { return gracefulDecommissionTimeout_ != null; @@ -392,6 +415,8 @@ public boolean hasGracefulDecommissionTimeout() { * * .google.protobuf.Duration graceful_decommission_timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The gracefulDecommissionTimeout. */ public com.google.protobuf.Duration getGracefulDecommissionTimeout() { return gracefulDecommissionTimeout_ == null @@ -485,6 +510,8 @@ public com.google.protobuf.DurationOrBuilder getGracefulDecommissionTimeoutOrBui * * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMask_ != null; @@ -553,6 +580,8 @@ public boolean hasUpdateMask() { * * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; @@ -644,6 +673,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * * string request_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -672,6 +703,8 @@ public java.lang.String getRequestId() { * * * string request_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -1149,6 +1182,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -1170,6 +1205,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -1191,6 +1228,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -1210,6 +1250,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1226,6 +1268,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1247,6 +1292,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -1267,6 +1314,8 @@ public java.lang.String getRegion() { * * * string region = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -1287,6 +1336,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -1305,6 +1357,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -1320,6 +1374,9 @@ public Builder clearRegion() { * * * string region = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1341,6 +1398,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -1361,6 +1420,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -1381,6 +1442,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -1399,6 +1463,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -1414,6 +1480,9 @@ public Builder clearClusterName() { * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1442,6 +1511,8 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1beta2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the cluster field is set. */ public boolean hasCluster() { return clusterBuilder_ != null || cluster_ != null; @@ -1456,6 +1527,8 @@ public boolean hasCluster() { * * .google.cloud.dataproc.v1beta2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The cluster. */ public com.google.cloud.dataproc.v1beta2.Cluster getCluster() { if (clusterBuilder_ == null) { @@ -1647,6 +1720,8 @@ public com.google.cloud.dataproc.v1beta2.ClusterOrBuilder getClusterOrBuilder() * * .google.protobuf.Duration graceful_decommission_timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the gracefulDecommissionTimeout field is set. */ public boolean hasGracefulDecommissionTimeout() { return gracefulDecommissionTimeoutBuilder_ != null || gracefulDecommissionTimeout_ != null; @@ -1667,6 +1742,8 @@ public boolean hasGracefulDecommissionTimeout() { * * .google.protobuf.Duration graceful_decommission_timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The gracefulDecommissionTimeout. */ public com.google.protobuf.Duration getGracefulDecommissionTimeout() { if (gracefulDecommissionTimeoutBuilder_ == null) { @@ -1949,6 +2026,8 @@ public com.google.protobuf.DurationOrBuilder getGracefulDecommissionTimeoutOrBui * * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; @@ -2017,6 +2096,8 @@ public boolean hasUpdateMask() { * * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { @@ -2579,6 +2660,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * * string request_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; @@ -2607,6 +2690,8 @@ public java.lang.String getRequestId() { * * * string request_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; @@ -2635,6 +2720,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * * * string request_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The requestId to set. + * @return This builder for chaining. */ public Builder setRequestId(java.lang.String value) { if (value == null) { @@ -2661,6 +2749,8 @@ public Builder setRequestId(java.lang.String value) { * * * string request_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearRequestId() { @@ -2684,6 +2774,9 @@ public Builder clearRequestId() { * * * string request_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. */ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateClusterRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateClusterRequestOrBuilder.java index 06614d4c..c87c6d64 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateClusterRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateClusterRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface UpdateClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface UpdateClusterRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface UpdateClusterRequestOrBuilder * * * string region = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface UpdateClusterRequestOrBuilder * * * string region = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface UpdateClusterRequestOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -85,6 +95,8 @@ public interface UpdateClusterRequestOrBuilder * * * string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); @@ -98,6 +110,8 @@ public interface UpdateClusterRequestOrBuilder * * .google.cloud.dataproc.v1beta2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the cluster field is set. */ boolean hasCluster(); /** @@ -110,6 +124,8 @@ public interface UpdateClusterRequestOrBuilder * * .google.cloud.dataproc.v1beta2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The cluster. */ com.google.cloud.dataproc.v1beta2.Cluster getCluster(); /** @@ -141,6 +157,8 @@ public interface UpdateClusterRequestOrBuilder * * .google.protobuf.Duration graceful_decommission_timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the gracefulDecommissionTimeout field is set. */ boolean hasGracefulDecommissionTimeout(); /** @@ -159,6 +177,8 @@ public interface UpdateClusterRequestOrBuilder * * .google.protobuf.Duration graceful_decommission_timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The gracefulDecommissionTimeout. */ com.google.protobuf.Duration getGracefulDecommissionTimeout(); /** @@ -244,6 +264,8 @@ public interface UpdateClusterRequestOrBuilder * * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** @@ -310,6 +332,8 @@ public interface UpdateClusterRequestOrBuilder * * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** @@ -395,6 +419,8 @@ public interface UpdateClusterRequestOrBuilder * * * string request_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestId. */ java.lang.String getRequestId(); /** @@ -413,6 +439,8 @@ public interface UpdateClusterRequestOrBuilder * * * string request_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestId. */ com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateJobRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateJobRequest.java index 53f0f976..703d26e8 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateJobRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateJobRequest.java @@ -43,6 +43,12 @@ private UpdateJobRequest() { jobId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateJobRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private UpdateJobRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -164,6 +169,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -185,6 +192,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -208,6 +217,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string region = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -228,6 +239,8 @@ public java.lang.String getRegion() { * * * string region = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -251,6 +264,8 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -271,6 +286,8 @@ public java.lang.String getJobId() { * * * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -295,6 +312,8 @@ public com.google.protobuf.ByteString getJobIdBytes() { * * .google.cloud.dataproc.v1beta2.Job job = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the job field is set. */ public boolean hasJob() { return job_ != null; @@ -308,6 +327,8 @@ public boolean hasJob() { * * .google.cloud.dataproc.v1beta2.Job job = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The job. */ public com.google.cloud.dataproc.v1beta2.Job getJob() { return job_ == null ? com.google.cloud.dataproc.v1beta2.Job.getDefaultInstance() : job_; @@ -342,6 +363,8 @@ public com.google.cloud.dataproc.v1beta2.JobOrBuilder getJobOrBuilder() { * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMask_ != null; @@ -360,6 +383,8 @@ public boolean hasUpdateMask() { * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; @@ -799,6 +824,8 @@ public Builder mergeFrom( * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -820,6 +847,8 @@ public java.lang.String getProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -841,6 +870,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -860,6 +892,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -876,6 +910,9 @@ public Builder clearProjectId() { * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -897,6 +934,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string region = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; @@ -917,6 +956,8 @@ public java.lang.String getRegion() { * * * string region = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; @@ -937,6 +978,9 @@ public com.google.protobuf.ByteString getRegionBytes() { * * * string region = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. */ public Builder setRegion(java.lang.String value) { if (value == null) { @@ -955,6 +999,8 @@ public Builder setRegion(java.lang.String value) { * * * string region = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearRegion() { @@ -970,6 +1016,9 @@ public Builder clearRegion() { * * * string region = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. */ public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -991,6 +1040,8 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * * * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -1011,6 +1062,8 @@ public java.lang.String getJobId() { * * * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -1031,6 +1084,9 @@ public com.google.protobuf.ByteString getJobIdBytes() { * * * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The jobId to set. + * @return This builder for chaining. */ public Builder setJobId(java.lang.String value) { if (value == null) { @@ -1049,6 +1105,8 @@ public Builder setJobId(java.lang.String value) { * * * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearJobId() { @@ -1064,6 +1122,9 @@ public Builder clearJobId() { * * * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for jobId to set. + * @return This builder for chaining. */ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1091,6 +1152,8 @@ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1beta2.Job job = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; @@ -1104,6 +1167,8 @@ public boolean hasJob() { * * .google.cloud.dataproc.v1beta2.Job job = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The job. */ public com.google.cloud.dataproc.v1beta2.Job getJob() { if (jobBuilder_ == null) { @@ -1282,6 +1347,8 @@ public com.google.cloud.dataproc.v1beta2.JobOrBuilder getJobOrBuilder() { * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; @@ -1300,6 +1367,8 @@ public boolean hasUpdateMask() { * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateJobRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateJobRequestOrBuilder.java index 6dd75dc4..7c6bd0d8 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateJobRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateJobRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface UpdateJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -43,6 +45,8 @@ public interface UpdateJobRequestOrBuilder * * * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -54,6 +58,8 @@ public interface UpdateJobRequestOrBuilder * * * string region = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. */ java.lang.String getRegion(); /** @@ -64,6 +70,8 @@ public interface UpdateJobRequestOrBuilder * * * string region = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); @@ -75,6 +83,8 @@ public interface UpdateJobRequestOrBuilder * * * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The jobId. */ java.lang.String getJobId(); /** @@ -85,6 +95,8 @@ public interface UpdateJobRequestOrBuilder * * * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for jobId. */ com.google.protobuf.ByteString getJobIdBytes(); @@ -97,6 +109,8 @@ public interface UpdateJobRequestOrBuilder * * .google.cloud.dataproc.v1beta2.Job job = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the job field is set. */ boolean hasJob(); /** @@ -108,6 +122,8 @@ public interface UpdateJobRequestOrBuilder * * .google.cloud.dataproc.v1beta2.Job job = 4 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The job. */ com.google.cloud.dataproc.v1beta2.Job getJob(); /** @@ -136,6 +152,8 @@ public interface UpdateJobRequestOrBuilder * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** @@ -152,6 +170,8 @@ public interface UpdateJobRequestOrBuilder * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateWorkflowTemplateRequest.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateWorkflowTemplateRequest.java index ce809c81..38c106bc 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateWorkflowTemplateRequest.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateWorkflowTemplateRequest.java @@ -39,6 +39,12 @@ private UpdateWorkflowTemplateRequest(com.google.protobuf.GeneratedMessageV3.Bui private UpdateWorkflowTemplateRequest() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateWorkflowTemplateRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private UpdateWorkflowTemplateRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -127,6 +132,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * .google.cloud.dataproc.v1beta2.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return Whether the template field is set. */ public boolean hasTemplate() { return template_ != null; @@ -142,6 +149,8 @@ public boolean hasTemplate() { * * .google.cloud.dataproc.v1beta2.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The template. */ public com.google.cloud.dataproc.v1beta2.WorkflowTemplate getTemplate() { return template_ == null @@ -516,6 +525,8 @@ public Builder mergeFrom( * * .google.cloud.dataproc.v1beta2.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return Whether the template field is set. */ public boolean hasTemplate() { return templateBuilder_ != null || template_ != null; @@ -531,6 +542,8 @@ public boolean hasTemplate() { * * .google.cloud.dataproc.v1beta2.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The template. */ public com.google.cloud.dataproc.v1beta2.WorkflowTemplate getTemplate() { if (templateBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateWorkflowTemplateRequestOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateWorkflowTemplateRequestOrBuilder.java index 01f01a9c..64f701b1 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateWorkflowTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/UpdateWorkflowTemplateRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface UpdateWorkflowTemplateRequestOrBuilder * * .google.cloud.dataproc.v1beta2.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return Whether the template field is set. */ boolean hasTemplate(); /** @@ -47,6 +49,8 @@ public interface UpdateWorkflowTemplateRequestOrBuilder * * .google.cloud.dataproc.v1beta2.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The template. */ com.google.cloud.dataproc.v1beta2.WorkflowTemplate getTemplate(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ValueValidation.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ValueValidation.java index 0ae68e14..7df4a6ca 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ValueValidation.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ValueValidation.java @@ -41,6 +41,12 @@ private ValueValidation() { values_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ValueValidation(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -122,6 +128,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * repeated string values = 1; + * + * @return A list containing the values. */ public com.google.protobuf.ProtocolStringList getValuesList() { return values_; @@ -134,6 +142,8 @@ public com.google.protobuf.ProtocolStringList getValuesList() { * * * repeated string values = 1; + * + * @return The count of values. */ public int getValuesCount() { return values_.size(); @@ -146,6 +156,9 @@ public int getValuesCount() { * * * repeated string values = 1; + * + * @param index The index of the element to return. + * @return The values at the given index. */ public java.lang.String getValues(int index) { return values_.get(index); @@ -158,6 +171,9 @@ public java.lang.String getValues(int index) { * * * repeated string values = 1; + * + * @param index The index of the value to return. + * @return The bytes of the values at the given index. */ public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); @@ -518,6 +534,8 @@ private void ensureValuesIsMutable() { * * * repeated string values = 1; + * + * @return A list containing the values. */ public com.google.protobuf.ProtocolStringList getValuesList() { return values_.getUnmodifiableView(); @@ -530,6 +548,8 @@ public com.google.protobuf.ProtocolStringList getValuesList() { * * * repeated string values = 1; + * + * @return The count of values. */ public int getValuesCount() { return values_.size(); @@ -542,6 +562,9 @@ public int getValuesCount() { * * * repeated string values = 1; + * + * @param index The index of the element to return. + * @return The values at the given index. */ public java.lang.String getValues(int index) { return values_.get(index); @@ -554,6 +577,9 @@ public java.lang.String getValues(int index) { * * * repeated string values = 1; + * + * @param index The index of the value to return. + * @return The bytes of the values at the given index. */ public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); @@ -566,6 +592,10 @@ public com.google.protobuf.ByteString getValuesBytes(int index) { * * * repeated string values = 1; + * + * @param index The index to set the value at. + * @param value The values to set. + * @return This builder for chaining. */ public Builder setValues(int index, java.lang.String value) { if (value == null) { @@ -584,6 +614,9 @@ public Builder setValues(int index, java.lang.String value) { * * * repeated string values = 1; + * + * @param value The values to add. + * @return This builder for chaining. */ public Builder addValues(java.lang.String value) { if (value == null) { @@ -602,6 +635,9 @@ public Builder addValues(java.lang.String value) { * * * repeated string values = 1; + * + * @param values The values to add. + * @return This builder for chaining. */ public Builder addAllValues(java.lang.Iterable values) { ensureValuesIsMutable(); @@ -617,6 +653,8 @@ public Builder addAllValues(java.lang.Iterable values) { * * * repeated string values = 1; + * + * @return This builder for chaining. */ public Builder clearValues() { values_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -632,6 +670,9 @@ public Builder clearValues() { * * * repeated string values = 1; + * + * @param value The bytes of the values to add. + * @return This builder for chaining. */ public Builder addValuesBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ValueValidationOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ValueValidationOrBuilder.java index e6642ff3..f0272ca9 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ValueValidationOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ValueValidationOrBuilder.java @@ -31,6 +31,8 @@ public interface ValueValidationOrBuilder * * * repeated string values = 1; + * + * @return A list containing the values. */ java.util.List getValuesList(); /** @@ -41,6 +43,8 @@ public interface ValueValidationOrBuilder * * * repeated string values = 1; + * + * @return The count of values. */ int getValuesCount(); /** @@ -51,6 +55,9 @@ public interface ValueValidationOrBuilder * * * repeated string values = 1; + * + * @param index The index of the element to return. + * @return The values at the given index. */ java.lang.String getValues(int index); /** @@ -61,6 +68,9 @@ public interface ValueValidationOrBuilder * * * repeated string values = 1; + * + * @param index The index of the value to return. + * @return The bytes of the values at the given index. */ com.google.protobuf.ByteString getValuesBytes(int index); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowGraph.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowGraph.java index d39d1b52..1d0bdbaf 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowGraph.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowGraph.java @@ -41,6 +41,12 @@ private WorkflowGraph() { nodes_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WorkflowGraph(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowMetadata.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowMetadata.java index d0695fa0..30a1be40 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowMetadata.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowMetadata.java @@ -44,6 +44,12 @@ private WorkflowMetadata() { clusterUuid_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WorkflowMetadata(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -146,11 +152,11 @@ private WorkflowMetadata( } case 66: { - if (!((mutable_bitField0_ & 0x00000080) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { parameters_ = com.google.protobuf.MapField.newMapField( ParametersDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000080; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry parameters__ = input.readMessage( @@ -343,12 +349,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static State valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static State forNumber(int value) { switch (value) { case 0: @@ -410,7 +424,6 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataproc.v1beta2.WorkflowMetadata.State) } - private int bitField0_; public static final int TEMPLATE_FIELD_NUMBER = 1; private volatile java.lang.Object template_; /** @@ -428,6 +441,8 @@ private State(int value) { * * * string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The template. */ public java.lang.String getTemplate() { java.lang.Object ref = template_; @@ -455,6 +470,8 @@ public java.lang.String getTemplate() { * * * string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for template. */ public com.google.protobuf.ByteString getTemplateBytes() { java.lang.Object ref = template_; @@ -479,6 +496,8 @@ public com.google.protobuf.ByteString getTemplateBytes() { * * * int32 version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The version. */ public int getVersion() { return version_; @@ -496,6 +515,8 @@ public int getVersion() { * * .google.cloud.dataproc.v1beta2.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the createCluster field is set. */ public boolean hasCreateCluster() { return createCluster_ != null; @@ -510,6 +531,8 @@ public boolean hasCreateCluster() { * * .google.cloud.dataproc.v1beta2.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The createCluster. */ public com.google.cloud.dataproc.v1beta2.ClusterOperation getCreateCluster() { return createCluster_ == null @@ -543,6 +566,8 @@ public com.google.cloud.dataproc.v1beta2.ClusterOperationOrBuilder getCreateClus * * .google.cloud.dataproc.v1beta2.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the graph field is set. */ public boolean hasGraph() { return graph_ != null; @@ -557,6 +582,8 @@ public boolean hasGraph() { * * .google.cloud.dataproc.v1beta2.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The graph. */ public com.google.cloud.dataproc.v1beta2.WorkflowGraph getGraph() { return graph_ == null @@ -590,6 +617,8 @@ public com.google.cloud.dataproc.v1beta2.WorkflowGraphOrBuilder getGraphOrBuilde * * .google.cloud.dataproc.v1beta2.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the deleteCluster field is set. */ public boolean hasDeleteCluster() { return deleteCluster_ != null; @@ -604,6 +633,8 @@ public boolean hasDeleteCluster() { * * .google.cloud.dataproc.v1beta2.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The deleteCluster. */ public com.google.cloud.dataproc.v1beta2.ClusterOperation getDeleteCluster() { return deleteCluster_ == null @@ -637,6 +668,8 @@ public com.google.cloud.dataproc.v1beta2.ClusterOperationOrBuilder getDeleteClus * * .google.cloud.dataproc.v1beta2.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -651,6 +684,8 @@ public int getStateValue() { * * .google.cloud.dataproc.v1beta2.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1beta2.WorkflowMetadata.State getState() { @SuppressWarnings("deprecation") @@ -671,6 +706,8 @@ public com.google.cloud.dataproc.v1beta2.WorkflowMetadata.State getState() { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -691,6 +728,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -809,6 +848,8 @@ public java.lang.String getParametersOrThrow(java.lang.String key) { * * .google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTime_ != null; @@ -822,6 +863,8 @@ public boolean hasStartTime() { * * .google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; @@ -851,6 +894,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * .google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTime_ != null; @@ -864,6 +909,8 @@ public boolean hasEndTime() { * * .google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; @@ -892,6 +939,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * * string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -912,6 +961,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -1341,7 +1392,6 @@ public com.google.cloud.dataproc.v1beta2.WorkflowMetadata buildPartial() { com.google.cloud.dataproc.v1beta2.WorkflowMetadata result = new com.google.cloud.dataproc.v1beta2.WorkflowMetadata(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.template_ = template_; result.version_ = version_; if (createClusterBuilder_ == null) { @@ -1374,7 +1424,6 @@ public com.google.cloud.dataproc.v1beta2.WorkflowMetadata buildPartial() { result.endTime_ = endTimeBuilder_.build(); } result.clusterUuid_ = clusterUuid_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1507,6 +1556,8 @@ public Builder mergeFrom( * * * string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The template. */ public java.lang.String getTemplate() { java.lang.Object ref = template_; @@ -1534,6 +1585,8 @@ public java.lang.String getTemplate() { * * * string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for template. */ public com.google.protobuf.ByteString getTemplateBytes() { java.lang.Object ref = template_; @@ -1561,6 +1614,9 @@ public com.google.protobuf.ByteString getTemplateBytes() { * * * string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The template to set. + * @return This builder for chaining. */ public Builder setTemplate(java.lang.String value) { if (value == null) { @@ -1586,6 +1642,8 @@ public Builder setTemplate(java.lang.String value) { * * * string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearTemplate() { @@ -1608,6 +1666,9 @@ public Builder clearTemplate() { * * * string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for template to set. + * @return This builder for chaining. */ public Builder setTemplateBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1630,6 +1691,8 @@ public Builder setTemplateBytes(com.google.protobuf.ByteString value) { * * * int32 version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The version. */ public int getVersion() { return version_; @@ -1643,6 +1706,9 @@ public int getVersion() { * * * int32 version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The version to set. + * @return This builder for chaining. */ public Builder setVersion(int value) { @@ -1659,6 +1725,8 @@ public Builder setVersion(int value) { * * * int32 version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearVersion() { @@ -1683,6 +1751,8 @@ public Builder clearVersion() { * * .google.cloud.dataproc.v1beta2.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the createCluster field is set. */ public boolean hasCreateCluster() { return createClusterBuilder_ != null || createCluster_ != null; @@ -1697,6 +1767,8 @@ public boolean hasCreateCluster() { * * .google.cloud.dataproc.v1beta2.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The createCluster. */ public com.google.cloud.dataproc.v1beta2.ClusterOperation getCreateCluster() { if (createClusterBuilder_ == null) { @@ -1883,6 +1955,8 @@ public com.google.cloud.dataproc.v1beta2.ClusterOperationOrBuilder getCreateClus * * .google.cloud.dataproc.v1beta2.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the graph field is set. */ public boolean hasGraph() { return graphBuilder_ != null || graph_ != null; @@ -1897,6 +1971,8 @@ public boolean hasGraph() { * * .google.cloud.dataproc.v1beta2.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The graph. */ public com.google.cloud.dataproc.v1beta2.WorkflowGraph getGraph() { if (graphBuilder_ == null) { @@ -2083,6 +2159,8 @@ public com.google.cloud.dataproc.v1beta2.WorkflowGraphOrBuilder getGraphOrBuilde * * .google.cloud.dataproc.v1beta2.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the deleteCluster field is set. */ public boolean hasDeleteCluster() { return deleteClusterBuilder_ != null || deleteCluster_ != null; @@ -2097,6 +2175,8 @@ public boolean hasDeleteCluster() { * * .google.cloud.dataproc.v1beta2.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The deleteCluster. */ public com.google.cloud.dataproc.v1beta2.ClusterOperation getDeleteCluster() { if (deleteClusterBuilder_ == null) { @@ -2278,6 +2358,8 @@ public com.google.cloud.dataproc.v1beta2.ClusterOperationOrBuilder getDeleteClus * * .google.cloud.dataproc.v1beta2.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -2292,6 +2374,9 @@ public int getStateValue() { * * .google.cloud.dataproc.v1beta2.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. */ public Builder setStateValue(int value) { state_ = value; @@ -2308,6 +2393,8 @@ public Builder setStateValue(int value) { * * .google.cloud.dataproc.v1beta2.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1beta2.WorkflowMetadata.State getState() { @SuppressWarnings("deprecation") @@ -2327,6 +2414,9 @@ public com.google.cloud.dataproc.v1beta2.WorkflowMetadata.State getState() { * * .google.cloud.dataproc.v1beta2.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The state to set. + * @return This builder for chaining. */ public Builder setState(com.google.cloud.dataproc.v1beta2.WorkflowMetadata.State value) { if (value == null) { @@ -2347,6 +2437,8 @@ public Builder setState(com.google.cloud.dataproc.v1beta2.WorkflowMetadata.State * * .google.cloud.dataproc.v1beta2.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ public Builder clearState() { @@ -2364,6 +2456,8 @@ public Builder clearState() { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; @@ -2384,6 +2478,8 @@ public java.lang.String getClusterName() { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterName. */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; @@ -2404,6 +2500,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The clusterName to set. + * @return This builder for chaining. */ public Builder setClusterName(java.lang.String value) { if (value == null) { @@ -2422,6 +2521,8 @@ public Builder setClusterName(java.lang.String value) { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearClusterName() { @@ -2437,6 +2538,9 @@ public Builder clearClusterName() { * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for clusterName to set. + * @return This builder for chaining. */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2619,6 +2723,8 @@ public Builder putAllParameters(java.util.Map.google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; @@ -2632,6 +2738,8 @@ public boolean hasStartTime() { * * .google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { @@ -2803,6 +2911,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * .google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; @@ -2816,6 +2926,8 @@ public boolean hasEndTime() { * * .google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { if (endTimeBuilder_ == null) { @@ -2981,6 +3093,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * * string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterUuid. */ public java.lang.String getClusterUuid() { java.lang.Object ref = clusterUuid_; @@ -3001,6 +3115,8 @@ public java.lang.String getClusterUuid() { * * * string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterUuid. */ public com.google.protobuf.ByteString getClusterUuidBytes() { java.lang.Object ref = clusterUuid_; @@ -3021,6 +3137,9 @@ public com.google.protobuf.ByteString getClusterUuidBytes() { * * * string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuid(java.lang.String value) { if (value == null) { @@ -3039,6 +3158,8 @@ public Builder setClusterUuid(java.lang.String value) { * * * string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearClusterUuid() { @@ -3054,6 +3175,9 @@ public Builder clearClusterUuid() { * * * string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for clusterUuid to set. + * @return This builder for chaining. */ public Builder setClusterUuidBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowMetadataOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowMetadataOrBuilder.java index 7ca62228..8cfa3bdd 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowMetadataOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowMetadataOrBuilder.java @@ -38,6 +38,8 @@ public interface WorkflowMetadataOrBuilder * * * string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The template. */ java.lang.String getTemplate(); /** @@ -55,6 +57,8 @@ public interface WorkflowMetadataOrBuilder * * * string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for template. */ com.google.protobuf.ByteString getTemplateBytes(); @@ -67,6 +71,8 @@ public interface WorkflowMetadataOrBuilder * * * int32 version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The version. */ int getVersion(); @@ -80,6 +86,8 @@ public interface WorkflowMetadataOrBuilder * * .google.cloud.dataproc.v1beta2.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the createCluster field is set. */ boolean hasCreateCluster(); /** @@ -92,6 +100,8 @@ public interface WorkflowMetadataOrBuilder * * .google.cloud.dataproc.v1beta2.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The createCluster. */ com.google.cloud.dataproc.v1beta2.ClusterOperation getCreateCluster(); /** @@ -117,6 +127,8 @@ public interface WorkflowMetadataOrBuilder * * .google.cloud.dataproc.v1beta2.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the graph field is set. */ boolean hasGraph(); /** @@ -129,6 +141,8 @@ public interface WorkflowMetadataOrBuilder * * .google.cloud.dataproc.v1beta2.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The graph. */ com.google.cloud.dataproc.v1beta2.WorkflowGraph getGraph(); /** @@ -154,6 +168,8 @@ public interface WorkflowMetadataOrBuilder * * .google.cloud.dataproc.v1beta2.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the deleteCluster field is set. */ boolean hasDeleteCluster(); /** @@ -166,6 +182,8 @@ public interface WorkflowMetadataOrBuilder * * .google.cloud.dataproc.v1beta2.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The deleteCluster. */ com.google.cloud.dataproc.v1beta2.ClusterOperation getDeleteCluster(); /** @@ -191,6 +209,8 @@ public interface WorkflowMetadataOrBuilder * * .google.cloud.dataproc.v1beta2.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ int getStateValue(); /** @@ -203,6 +223,8 @@ public interface WorkflowMetadataOrBuilder * * .google.cloud.dataproc.v1beta2.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ com.google.cloud.dataproc.v1beta2.WorkflowMetadata.State getState(); @@ -214,6 +236,8 @@ public interface WorkflowMetadataOrBuilder * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterName. */ java.lang.String getClusterName(); /** @@ -224,6 +248,8 @@ public interface WorkflowMetadataOrBuilder * * * string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterName. */ com.google.protobuf.ByteString getClusterNameBytes(); @@ -290,6 +316,8 @@ public interface WorkflowMetadataOrBuilder * * .google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the startTime field is set. */ boolean hasStartTime(); /** @@ -301,6 +329,8 @@ public interface WorkflowMetadataOrBuilder * * .google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** @@ -324,6 +354,8 @@ public interface WorkflowMetadataOrBuilder * * .google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the endTime field is set. */ boolean hasEndTime(); /** @@ -335,6 +367,8 @@ public interface WorkflowMetadataOrBuilder * * .google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** @@ -357,6 +391,8 @@ public interface WorkflowMetadataOrBuilder * * * string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterUuid. */ java.lang.String getClusterUuid(); /** @@ -367,6 +403,8 @@ public interface WorkflowMetadataOrBuilder * * * string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterUuid. */ com.google.protobuf.ByteString getClusterUuidBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowNode.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowNode.java index c7df6823..f70291cd 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowNode.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowNode.java @@ -45,6 +45,12 @@ private WorkflowNode() { error_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WorkflowNode(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -79,9 +85,9 @@ private WorkflowNode( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { prerequisiteStepIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } prerequisiteStepIds_.add(s); break; @@ -121,7 +127,7 @@ private WorkflowNode( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { prerequisiteStepIds_ = prerequisiteStepIds_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -288,12 +294,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static NodeState valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static NodeState forNumber(int value) { switch (value) { case 0: @@ -357,7 +371,6 @@ private NodeState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataproc.v1beta2.WorkflowNode.NodeState) } - private int bitField0_; public static final int STEP_ID_FIELD_NUMBER = 1; private volatile java.lang.Object stepId_; /** @@ -368,6 +381,8 @@ private NodeState(int value) { * * * string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The stepId. */ public java.lang.String getStepId() { java.lang.Object ref = stepId_; @@ -388,6 +403,8 @@ public java.lang.String getStepId() { * * * string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for stepId. */ public com.google.protobuf.ByteString getStepIdBytes() { java.lang.Object ref = stepId_; @@ -412,6 +429,8 @@ public com.google.protobuf.ByteString getStepIdBytes() { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return A list containing the prerequisiteStepIds. */ public com.google.protobuf.ProtocolStringList getPrerequisiteStepIdsList() { return prerequisiteStepIds_; @@ -425,6 +444,8 @@ public com.google.protobuf.ProtocolStringList getPrerequisiteStepIdsList() { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The count of prerequisiteStepIds. */ public int getPrerequisiteStepIdsCount() { return prerequisiteStepIds_.size(); @@ -438,6 +459,9 @@ public int getPrerequisiteStepIdsCount() { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param index The index of the element to return. + * @return The prerequisiteStepIds at the given index. */ public java.lang.String getPrerequisiteStepIds(int index) { return prerequisiteStepIds_.get(index); @@ -451,6 +475,9 @@ public java.lang.String getPrerequisiteStepIds(int index) { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param index The index of the value to return. + * @return The bytes of the prerequisiteStepIds at the given index. */ public com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index) { return prerequisiteStepIds_.getByteString(index); @@ -466,6 +493,8 @@ public com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index) { * * * string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -486,6 +515,8 @@ public java.lang.String getJobId() { * * * string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -511,6 +542,8 @@ public com.google.protobuf.ByteString getJobIdBytes() { * * .google.cloud.dataproc.v1beta2.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -525,6 +558,8 @@ public int getStateValue() { * * .google.cloud.dataproc.v1beta2.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1beta2.WorkflowNode.NodeState getState() { @SuppressWarnings("deprecation") @@ -545,6 +580,8 @@ public com.google.cloud.dataproc.v1beta2.WorkflowNode.NodeState getState() { * * * string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The error. */ public java.lang.String getError() { java.lang.Object ref = error_; @@ -565,6 +602,8 @@ public java.lang.String getError() { * * * string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for error. */ public com.google.protobuf.ByteString getErrorBytes() { java.lang.Object ref = error_; @@ -832,7 +871,7 @@ public Builder clear() { stepId_ = ""; prerequisiteStepIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); jobId_ = ""; state_ = 0; @@ -867,17 +906,15 @@ public com.google.cloud.dataproc.v1beta2.WorkflowNode buildPartial() { com.google.cloud.dataproc.v1beta2.WorkflowNode result = new com.google.cloud.dataproc.v1beta2.WorkflowNode(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.stepId_ = stepId_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { prerequisiteStepIds_ = prerequisiteStepIds_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.prerequisiteStepIds_ = prerequisiteStepIds_; result.jobId_ = jobId_; result.state_ = state_; result.error_ = error_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -934,7 +971,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.WorkflowNode other) { if (!other.prerequisiteStepIds_.isEmpty()) { if (prerequisiteStepIds_.isEmpty()) { prerequisiteStepIds_ = other.prerequisiteStepIds_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePrerequisiteStepIdsIsMutable(); prerequisiteStepIds_.addAll(other.prerequisiteStepIds_); @@ -992,6 +1029,8 @@ public Builder mergeFrom( * * * string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The stepId. */ public java.lang.String getStepId() { java.lang.Object ref = stepId_; @@ -1012,6 +1051,8 @@ public java.lang.String getStepId() { * * * string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for stepId. */ public com.google.protobuf.ByteString getStepIdBytes() { java.lang.Object ref = stepId_; @@ -1032,6 +1073,9 @@ public com.google.protobuf.ByteString getStepIdBytes() { * * * string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The stepId to set. + * @return This builder for chaining. */ public Builder setStepId(java.lang.String value) { if (value == null) { @@ -1050,6 +1094,8 @@ public Builder setStepId(java.lang.String value) { * * * string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearStepId() { @@ -1065,6 +1111,9 @@ public Builder clearStepId() { * * * string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for stepId to set. + * @return This builder for chaining. */ public Builder setStepIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1081,9 +1130,9 @@ public Builder setStepIdBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePrerequisiteStepIdsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { prerequisiteStepIds_ = new com.google.protobuf.LazyStringArrayList(prerequisiteStepIds_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** @@ -1095,6 +1144,8 @@ private void ensurePrerequisiteStepIdsIsMutable() { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return A list containing the prerequisiteStepIds. */ public com.google.protobuf.ProtocolStringList getPrerequisiteStepIdsList() { return prerequisiteStepIds_.getUnmodifiableView(); @@ -1108,6 +1159,8 @@ public com.google.protobuf.ProtocolStringList getPrerequisiteStepIdsList() { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The count of prerequisiteStepIds. */ public int getPrerequisiteStepIdsCount() { return prerequisiteStepIds_.size(); @@ -1121,6 +1174,9 @@ public int getPrerequisiteStepIdsCount() { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param index The index of the element to return. + * @return The prerequisiteStepIds at the given index. */ public java.lang.String getPrerequisiteStepIds(int index) { return prerequisiteStepIds_.get(index); @@ -1134,6 +1190,9 @@ public java.lang.String getPrerequisiteStepIds(int index) { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param index The index of the value to return. + * @return The bytes of the prerequisiteStepIds at the given index. */ public com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index) { return prerequisiteStepIds_.getByteString(index); @@ -1147,6 +1206,10 @@ public com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index) { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param index The index to set the value at. + * @param value The prerequisiteStepIds to set. + * @return This builder for chaining. */ public Builder setPrerequisiteStepIds(int index, java.lang.String value) { if (value == null) { @@ -1166,6 +1229,9 @@ public Builder setPrerequisiteStepIds(int index, java.lang.String value) { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The prerequisiteStepIds to add. + * @return This builder for chaining. */ public Builder addPrerequisiteStepIds(java.lang.String value) { if (value == null) { @@ -1185,6 +1251,9 @@ public Builder addPrerequisiteStepIds(java.lang.String value) { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param values The prerequisiteStepIds to add. + * @return This builder for chaining. */ public Builder addAllPrerequisiteStepIds(java.lang.Iterable values) { ensurePrerequisiteStepIdsIsMutable(); @@ -1201,10 +1270,12 @@ public Builder addAllPrerequisiteStepIds(java.lang.Iterable va * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ public Builder clearPrerequisiteStepIds() { prerequisiteStepIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1217,6 +1288,9 @@ public Builder clearPrerequisiteStepIds() { * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The bytes of the prerequisiteStepIds to add. + * @return This builder for chaining. */ public Builder addPrerequisiteStepIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1238,6 +1312,8 @@ public Builder addPrerequisiteStepIdsBytes(com.google.protobuf.ByteString value) * * * string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; @@ -1258,6 +1334,8 @@ public java.lang.String getJobId() { * * * string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; @@ -1278,6 +1356,9 @@ public com.google.protobuf.ByteString getJobIdBytes() { * * * string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The jobId to set. + * @return This builder for chaining. */ public Builder setJobId(java.lang.String value) { if (value == null) { @@ -1296,6 +1377,8 @@ public Builder setJobId(java.lang.String value) { * * * string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearJobId() { @@ -1311,6 +1394,9 @@ public Builder clearJobId() { * * * string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for jobId to set. + * @return This builder for chaining. */ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1334,6 +1420,8 @@ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1beta2.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -1348,6 +1436,9 @@ public int getStateValue() { * * .google.cloud.dataproc.v1beta2.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. */ public Builder setStateValue(int value) { state_ = value; @@ -1364,6 +1455,8 @@ public Builder setStateValue(int value) { * * .google.cloud.dataproc.v1beta2.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1beta2.WorkflowNode.NodeState getState() { @SuppressWarnings("deprecation") @@ -1383,6 +1476,9 @@ public com.google.cloud.dataproc.v1beta2.WorkflowNode.NodeState getState() { * * .google.cloud.dataproc.v1beta2.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The state to set. + * @return This builder for chaining. */ public Builder setState(com.google.cloud.dataproc.v1beta2.WorkflowNode.NodeState value) { if (value == null) { @@ -1403,6 +1499,8 @@ public Builder setState(com.google.cloud.dataproc.v1beta2.WorkflowNode.NodeState * * .google.cloud.dataproc.v1beta2.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ public Builder clearState() { @@ -1420,6 +1518,8 @@ public Builder clearState() { * * * string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The error. */ public java.lang.String getError() { java.lang.Object ref = error_; @@ -1440,6 +1540,8 @@ public java.lang.String getError() { * * * string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for error. */ public com.google.protobuf.ByteString getErrorBytes() { java.lang.Object ref = error_; @@ -1460,6 +1562,9 @@ public com.google.protobuf.ByteString getErrorBytes() { * * * string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The error to set. + * @return This builder for chaining. */ public Builder setError(java.lang.String value) { if (value == null) { @@ -1478,6 +1583,8 @@ public Builder setError(java.lang.String value) { * * * string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearError() { @@ -1493,6 +1600,9 @@ public Builder clearError() { * * * string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for error to set. + * @return This builder for chaining. */ public Builder setErrorBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowNodeOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowNodeOrBuilder.java index 25474996..e915b969 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowNodeOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowNodeOrBuilder.java @@ -31,6 +31,8 @@ public interface WorkflowNodeOrBuilder * * * string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The stepId. */ java.lang.String getStepId(); /** @@ -41,6 +43,8 @@ public interface WorkflowNodeOrBuilder * * * string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for stepId. */ com.google.protobuf.ByteString getStepIdBytes(); @@ -53,6 +57,8 @@ public interface WorkflowNodeOrBuilder * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return A list containing the prerequisiteStepIds. */ java.util.List getPrerequisiteStepIdsList(); /** @@ -64,6 +70,8 @@ public interface WorkflowNodeOrBuilder * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The count of prerequisiteStepIds. */ int getPrerequisiteStepIdsCount(); /** @@ -75,6 +83,9 @@ public interface WorkflowNodeOrBuilder * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param index The index of the element to return. + * @return The prerequisiteStepIds at the given index. */ java.lang.String getPrerequisiteStepIds(int index); /** @@ -86,6 +97,9 @@ public interface WorkflowNodeOrBuilder * * repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param index The index of the value to return. + * @return The bytes of the prerequisiteStepIds at the given index. */ com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index); @@ -97,6 +111,8 @@ public interface WorkflowNodeOrBuilder * * * string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The jobId. */ java.lang.String getJobId(); /** @@ -107,6 +123,8 @@ public interface WorkflowNodeOrBuilder * * * string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for jobId. */ com.google.protobuf.ByteString getJobIdBytes(); @@ -120,6 +138,8 @@ public interface WorkflowNodeOrBuilder * * .google.cloud.dataproc.v1beta2.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ int getStateValue(); /** @@ -132,6 +152,8 @@ public interface WorkflowNodeOrBuilder * * .google.cloud.dataproc.v1beta2.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ com.google.cloud.dataproc.v1beta2.WorkflowNode.NodeState getState(); @@ -143,6 +165,8 @@ public interface WorkflowNodeOrBuilder * * * string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The error. */ java.lang.String getError(); /** @@ -153,6 +177,8 @@ public interface WorkflowNodeOrBuilder * * * string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for error. */ com.google.protobuf.ByteString getErrorBytes(); } diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplate.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplate.java index 6a15f029..e40f0bf2 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplate.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplate.java @@ -44,6 +44,12 @@ private WorkflowTemplate() { parameters_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WorkflowTemplate(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -119,10 +125,10 @@ private WorkflowTemplate( } case 50: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( @@ -149,9 +155,9 @@ private WorkflowTemplate( } case 66: { - if (!((mutable_bitField0_ & 0x00000080) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { jobs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000080; + mutable_bitField0_ |= 0x00000002; } jobs_.add( input.readMessage( @@ -160,10 +166,10 @@ private WorkflowTemplate( } case 74: { - if (!((mutable_bitField0_ & 0x00000100) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { parameters_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000100; + mutable_bitField0_ |= 0x00000004; } parameters_.add( input.readMessage( @@ -185,10 +191,10 @@ private WorkflowTemplate( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000080) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { jobs_ = java.util.Collections.unmodifiableList(jobs_); } - if (((mutable_bitField0_ & 0x00000100) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { parameters_ = java.util.Collections.unmodifiableList(parameters_); } this.unknownFields = unknownFields.build(); @@ -222,7 +228,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.dataproc.v1beta2.WorkflowTemplate.Builder.class); } - private int bitField0_; public static final int ID_FIELD_NUMBER = 2; private volatile java.lang.Object id_; /** @@ -237,6 +242,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * string id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; @@ -261,6 +268,8 @@ public java.lang.String getId() { * * * string id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; @@ -291,6 +300,8 @@ public com.google.protobuf.ByteString getIdBytes() { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -318,6 +329,8 @@ public java.lang.String getName() { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -348,6 +361,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * int32 version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. */ public int getVersion() { return version_; @@ -364,6 +379,8 @@ public int getVersion() { * * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTime_ != null; @@ -377,6 +394,8 @@ public boolean hasCreateTime() { * * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; @@ -406,6 +425,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTime_ != null; @@ -419,6 +440,8 @@ public boolean hasUpdateTime() { * * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; @@ -572,6 +595,8 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { * * * .google.cloud.dataproc.v1beta2.WorkflowTemplatePlacement placement = 7; + * + * @return Whether the placement field is set. */ public boolean hasPlacement() { return placement_ != null; @@ -584,6 +609,8 @@ public boolean hasPlacement() { * * * .google.cloud.dataproc.v1beta2.WorkflowTemplatePlacement placement = 7; + * + * @return The placement. */ public com.google.cloud.dataproc.v1beta2.WorkflowTemplatePlacement getPlacement() { return placement_ == null @@ -1106,13 +1133,13 @@ public Builder clear() { } if (jobsBuilder_ == null) { jobs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); } else { jobsBuilder_.clear(); } if (parametersBuilder_ == null) { parameters_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000004); } else { parametersBuilder_.clear(); } @@ -1144,7 +1171,6 @@ public com.google.cloud.dataproc.v1beta2.WorkflowTemplate buildPartial() { com.google.cloud.dataproc.v1beta2.WorkflowTemplate result = new com.google.cloud.dataproc.v1beta2.WorkflowTemplate(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.id_ = id_; result.name_ = name_; result.version_ = version_; @@ -1166,24 +1192,23 @@ public com.google.cloud.dataproc.v1beta2.WorkflowTemplate buildPartial() { result.placement_ = placementBuilder_.build(); } if (jobsBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { jobs_ = java.util.Collections.unmodifiableList(jobs_); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); } result.jobs_ = jobs_; } else { result.jobs_ = jobsBuilder_.build(); } if (parametersBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { parameters_ = java.util.Collections.unmodifiableList(parameters_); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000004); } result.parameters_ = parameters_; } else { result.parameters_ = parametersBuilder_.build(); } - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1259,7 +1284,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.WorkflowTemplate othe if (!other.jobs_.isEmpty()) { if (jobs_.isEmpty()) { jobs_ = other.jobs_; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureJobsIsMutable(); jobs_.addAll(other.jobs_); @@ -1272,7 +1297,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.WorkflowTemplate othe jobsBuilder_.dispose(); jobsBuilder_ = null; jobs_ = other.jobs_; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); jobsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getJobsFieldBuilder() @@ -1286,7 +1311,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.WorkflowTemplate othe if (!other.parameters_.isEmpty()) { if (parameters_.isEmpty()) { parameters_ = other.parameters_; - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureParametersIsMutable(); parameters_.addAll(other.parameters_); @@ -1299,7 +1324,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1beta2.WorkflowTemplate othe parametersBuilder_.dispose(); parametersBuilder_ = null; parameters_ = other.parameters_; - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000004); parametersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getParametersFieldBuilder() @@ -1354,6 +1379,8 @@ public Builder mergeFrom( * * * string id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; @@ -1378,6 +1405,8 @@ public java.lang.String getId() { * * * string id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; @@ -1402,6 +1431,9 @@ public com.google.protobuf.ByteString getIdBytes() { * * * string id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The id to set. + * @return This builder for chaining. */ public Builder setId(java.lang.String value) { if (value == null) { @@ -1424,6 +1456,8 @@ public Builder setId(java.lang.String value) { * * * string id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearId() { @@ -1443,6 +1477,9 @@ public Builder clearId() { * * * string id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for id to set. + * @return This builder for chaining. */ public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1471,6 +1508,8 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -1498,6 +1537,8 @@ public java.lang.String getName() { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -1525,6 +1566,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -1550,6 +1594,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -1572,6 +1618,9 @@ public Builder clearName() { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1600,6 +1649,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * int32 version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. */ public int getVersion() { return version_; @@ -1619,6 +1670,9 @@ public int getVersion() { * * * int32 version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The version to set. + * @return This builder for chaining. */ public Builder setVersion(int value) { @@ -1641,6 +1695,8 @@ public Builder setVersion(int value) { * * * int32 version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearVersion() { @@ -1665,6 +1721,8 @@ public Builder clearVersion() { * * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; @@ -1679,6 +1737,8 @@ public boolean hasCreateTime() { * * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { @@ -1862,6 +1922,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; @@ -1876,6 +1938,8 @@ public boolean hasUpdateTime() { * * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2265,6 +2329,8 @@ public Builder putAllLabels(java.util.Map va * * * .google.cloud.dataproc.v1beta2.WorkflowTemplatePlacement placement = 7; + * + * @return Whether the placement field is set. */ public boolean hasPlacement() { return placementBuilder_ != null || placement_ != null; @@ -2277,6 +2343,8 @@ public boolean hasPlacement() { * * * .google.cloud.dataproc.v1beta2.WorkflowTemplatePlacement placement = 7; + * + * @return The placement. */ public com.google.cloud.dataproc.v1beta2.WorkflowTemplatePlacement getPlacement() { if (placementBuilder_ == null) { @@ -2440,9 +2508,9 @@ public Builder clearPlacement() { java.util.Collections.emptyList(); private void ensureJobsIsMutable() { - if (!((bitField0_ & 0x00000080) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { jobs_ = new java.util.ArrayList(jobs_); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000002; } } @@ -2657,7 +2725,7 @@ public Builder addAllJobs( public Builder clearJobs() { if (jobsBuilder_ == null) { jobs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { jobsBuilder_.clear(); @@ -2779,7 +2847,7 @@ public com.google.cloud.dataproc.v1beta2.OrderedJob.Builder addJobsBuilder(int i com.google.cloud.dataproc.v1beta2.OrderedJob, com.google.cloud.dataproc.v1beta2.OrderedJob.Builder, com.google.cloud.dataproc.v1beta2.OrderedJobOrBuilder>( - jobs_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); + jobs_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); jobs_ = null; } return jobsBuilder_; @@ -2789,11 +2857,11 @@ public com.google.cloud.dataproc.v1beta2.OrderedJob.Builder addJobsBuilder(int i java.util.Collections.emptyList(); private void ensureParametersIsMutable() { - if (!((bitField0_ & 0x00000100) != 0)) { + if (!((bitField0_ & 0x00000004) != 0)) { parameters_ = new java.util.ArrayList( parameters_); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000004; } } @@ -3055,7 +3123,7 @@ public Builder addAllParameters( public Builder clearParameters() { if (parametersBuilder_ == null) { parameters_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { parametersBuilder_.clear(); @@ -3209,7 +3277,7 @@ public com.google.cloud.dataproc.v1beta2.TemplateParameter.Builder addParameters com.google.cloud.dataproc.v1beta2.TemplateParameter, com.google.cloud.dataproc.v1beta2.TemplateParameter.Builder, com.google.cloud.dataproc.v1beta2.TemplateParameterOrBuilder>( - parameters_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); + parameters_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); parameters_ = null; } return parametersBuilder_; diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateName.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateName.java index 9d80cf5f..87f6ea54 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateName.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateName.java @@ -24,7 +24,7 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public class WorkflowTemplateName implements ResourceName { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateOrBuilder.java index 0dfb42d6..b17ee034 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateOrBuilder.java @@ -35,6 +35,8 @@ public interface WorkflowTemplateOrBuilder * * * string id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The id. */ java.lang.String getId(); /** @@ -49,6 +51,8 @@ public interface WorkflowTemplateOrBuilder * * * string id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); @@ -67,6 +71,8 @@ public interface WorkflowTemplateOrBuilder * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ java.lang.String getName(); /** @@ -84,6 +90,8 @@ public interface WorkflowTemplateOrBuilder * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -102,6 +110,8 @@ public interface WorkflowTemplateOrBuilder * * * int32 version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. */ int getVersion(); @@ -114,6 +124,8 @@ public interface WorkflowTemplateOrBuilder * * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** @@ -125,6 +137,8 @@ public interface WorkflowTemplateOrBuilder * * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** @@ -148,6 +162,8 @@ public interface WorkflowTemplateOrBuilder * * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** @@ -159,6 +175,8 @@ public interface WorkflowTemplateOrBuilder * * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** @@ -275,6 +293,8 @@ public interface WorkflowTemplateOrBuilder * * * .google.cloud.dataproc.v1beta2.WorkflowTemplatePlacement placement = 7; + * + * @return Whether the placement field is set. */ boolean hasPlacement(); /** @@ -285,6 +305,8 @@ public interface WorkflowTemplateOrBuilder * * * .google.cloud.dataproc.v1beta2.WorkflowTemplatePlacement placement = 7; + * + * @return The placement. */ com.google.cloud.dataproc.v1beta2.WorkflowTemplatePlacement getPlacement(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplatePlacement.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplatePlacement.java index 90e8bbad..c73065b8 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplatePlacement.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplatePlacement.java @@ -40,6 +40,12 @@ private WorkflowTemplatePlacement(com.google.protobuf.GeneratedMessageV3.Builder private WorkflowTemplatePlacement() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WorkflowTemplatePlacement(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -53,7 +59,6 @@ private WorkflowTemplatePlacement( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -137,7 +142,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int placementCase_ = 0; private java.lang.Object placement_; - public enum PlacementCase implements com.google.protobuf.Internal.EnumLite { + public enum PlacementCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { MANAGED_CLUSTER(1), CLUSTER_SELECTOR(2), PLACEMENT_NOT_SET(0); @@ -146,7 +154,11 @@ public enum PlacementCase implements com.google.protobuf.Internal.EnumLite { private PlacementCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static PlacementCase valueOf(int value) { return forNumber(value); @@ -183,6 +195,8 @@ public PlacementCase getPlacementCase() { * * * .google.cloud.dataproc.v1beta2.ManagedCluster managed_cluster = 1; + * + * @return Whether the managedCluster field is set. */ public boolean hasManagedCluster() { return placementCase_ == 1; @@ -195,6 +209,8 @@ public boolean hasManagedCluster() { * * * .google.cloud.dataproc.v1beta2.ManagedCluster managed_cluster = 1; + * + * @return The managedCluster. */ public com.google.cloud.dataproc.v1beta2.ManagedCluster getManagedCluster() { if (placementCase_ == 1) { @@ -229,6 +245,8 @@ public com.google.cloud.dataproc.v1beta2.ManagedClusterOrBuilder getManagedClust * * * .google.cloud.dataproc.v1beta2.ClusterSelector cluster_selector = 2; + * + * @return Whether the clusterSelector field is set. */ public boolean hasClusterSelector() { return placementCase_ == 2; @@ -243,6 +261,8 @@ public boolean hasClusterSelector() { * * * .google.cloud.dataproc.v1beta2.ClusterSelector cluster_selector = 2; + * + * @return The clusterSelector. */ public com.google.cloud.dataproc.v1beta2.ClusterSelector getClusterSelector() { if (placementCase_ == 2) { @@ -671,6 +691,8 @@ public Builder clearPlacement() { * * * .google.cloud.dataproc.v1beta2.ManagedCluster managed_cluster = 1; + * + * @return Whether the managedCluster field is set. */ public boolean hasManagedCluster() { return placementCase_ == 1; @@ -683,6 +705,8 @@ public boolean hasManagedCluster() { * * * .google.cloud.dataproc.v1beta2.ManagedCluster managed_cluster = 1; + * + * @return The managedCluster. */ public com.google.cloud.dataproc.v1beta2.ManagedCluster getManagedCluster() { if (managedClusterBuilder_ == null) { @@ -876,6 +900,8 @@ public com.google.cloud.dataproc.v1beta2.ManagedClusterOrBuilder getManagedClust * * * .google.cloud.dataproc.v1beta2.ClusterSelector cluster_selector = 2; + * + * @return Whether the clusterSelector field is set. */ public boolean hasClusterSelector() { return placementCase_ == 2; @@ -890,6 +916,8 @@ public boolean hasClusterSelector() { * * * .google.cloud.dataproc.v1beta2.ClusterSelector cluster_selector = 2; + * + * @return The clusterSelector. */ public com.google.cloud.dataproc.v1beta2.ClusterSelector getClusterSelector() { if (clusterSelectorBuilder_ == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplatePlacementOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplatePlacementOrBuilder.java index 5f27397f..734e4243 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplatePlacementOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplatePlacementOrBuilder.java @@ -31,6 +31,8 @@ public interface WorkflowTemplatePlacementOrBuilder * * * .google.cloud.dataproc.v1beta2.ManagedCluster managed_cluster = 1; + * + * @return Whether the managedCluster field is set. */ boolean hasManagedCluster(); /** @@ -41,6 +43,8 @@ public interface WorkflowTemplatePlacementOrBuilder * * * .google.cloud.dataproc.v1beta2.ManagedCluster managed_cluster = 1; + * + * @return The managedCluster. */ com.google.cloud.dataproc.v1beta2.ManagedCluster getManagedCluster(); /** @@ -64,6 +68,8 @@ public interface WorkflowTemplatePlacementOrBuilder * * * .google.cloud.dataproc.v1beta2.ClusterSelector cluster_selector = 2; + * + * @return Whether the clusterSelector field is set. */ boolean hasClusterSelector(); /** @@ -76,6 +82,8 @@ public interface WorkflowTemplatePlacementOrBuilder * * * .google.cloud.dataproc.v1beta2.ClusterSelector cluster_selector = 2; + * + * @return The clusterSelector. */ com.google.cloud.dataproc.v1beta2.ClusterSelector getClusterSelector(); /** diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplatesProto.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplatesProto.java index 682a9f11..0b751251 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplatesProto.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplatesProto.java @@ -337,28 +337,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gle.golang.org/genproto/googleapis/cloud" + "/dataproc/v1beta2;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.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.dataproc.v1beta2.ClustersProto.getDescriptor(), - com.google.cloud.dataproc.v1beta2.JobsProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.dataproc.v1beta2.ClustersProto.getDescriptor(), + com.google.cloud.dataproc.v1beta2.JobsProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); internal_static_google_cloud_dataproc_v1beta2_WorkflowTemplate_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_dataproc_v1beta2_WorkflowTemplate_fieldAccessorTable = diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/YarnApplication.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/YarnApplication.java index f31fe390..dce6271c 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/YarnApplication.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/YarnApplication.java @@ -46,6 +46,12 @@ private YarnApplication() { trackingUrl_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new YarnApplication(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -59,7 +65,6 @@ private YarnApplication( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -333,12 +338,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static State valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static State forNumber(int value) { switch (value) { case 0: @@ -420,6 +433,8 @@ private State(int value) { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -440,6 +455,8 @@ public java.lang.String getName() { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -465,6 +482,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * .google.cloud.dataproc.v1beta2.YarnApplication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -479,6 +498,8 @@ public int getStateValue() { * * .google.cloud.dataproc.v1beta2.YarnApplication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1beta2.YarnApplication.State getState() { @SuppressWarnings("deprecation") @@ -499,6 +520,8 @@ public com.google.cloud.dataproc.v1beta2.YarnApplication.State getState() { * * * float progress = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The progress. */ public float getProgress() { return progress_; @@ -517,6 +540,8 @@ public float getProgress() { * * * string tracking_url = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The trackingUrl. */ public java.lang.String getTrackingUrl() { java.lang.Object ref = trackingUrl_; @@ -540,6 +565,8 @@ public java.lang.String getTrackingUrl() { * * * string tracking_url = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for trackingUrl. */ public com.google.protobuf.ByteString getTrackingUrlBytes() { java.lang.Object ref = trackingUrl_; @@ -932,6 +959,8 @@ public Builder mergeFrom( * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -952,6 +981,8 @@ public java.lang.String getName() { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -972,6 +1003,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -990,6 +1024,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -1005,6 +1041,9 @@ public Builder clearName() { * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1028,6 +1067,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dataproc.v1beta2.YarnApplication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ public int getStateValue() { return state_; @@ -1042,6 +1083,9 @@ public int getStateValue() { * * .google.cloud.dataproc.v1beta2.YarnApplication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. */ public Builder setStateValue(int value) { state_ = value; @@ -1058,6 +1102,8 @@ public Builder setStateValue(int value) { * * .google.cloud.dataproc.v1beta2.YarnApplication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ public com.google.cloud.dataproc.v1beta2.YarnApplication.State getState() { @SuppressWarnings("deprecation") @@ -1077,6 +1123,9 @@ public com.google.cloud.dataproc.v1beta2.YarnApplication.State getState() { * * .google.cloud.dataproc.v1beta2.YarnApplication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The state to set. + * @return This builder for chaining. */ public Builder setState(com.google.cloud.dataproc.v1beta2.YarnApplication.State value) { if (value == null) { @@ -1097,6 +1146,8 @@ public Builder setState(com.google.cloud.dataproc.v1beta2.YarnApplication.State * * .google.cloud.dataproc.v1beta2.YarnApplication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ public Builder clearState() { @@ -1114,6 +1165,8 @@ public Builder clearState() { * * * float progress = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The progress. */ public float getProgress() { return progress_; @@ -1126,6 +1179,9 @@ public float getProgress() { * * * float progress = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The progress to set. + * @return This builder for chaining. */ public Builder setProgress(float value) { @@ -1141,6 +1197,8 @@ public Builder setProgress(float value) { * * * float progress = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearProgress() { @@ -1161,6 +1219,8 @@ public Builder clearProgress() { * * * string tracking_url = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The trackingUrl. */ public java.lang.String getTrackingUrl() { java.lang.Object ref = trackingUrl_; @@ -1184,6 +1244,8 @@ public java.lang.String getTrackingUrl() { * * * string tracking_url = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for trackingUrl. */ public com.google.protobuf.ByteString getTrackingUrlBytes() { java.lang.Object ref = trackingUrl_; @@ -1207,6 +1269,9 @@ public com.google.protobuf.ByteString getTrackingUrlBytes() { * * * string tracking_url = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The trackingUrl to set. + * @return This builder for chaining. */ public Builder setTrackingUrl(java.lang.String value) { if (value == null) { @@ -1228,6 +1293,8 @@ public Builder setTrackingUrl(java.lang.String value) { * * * string tracking_url = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearTrackingUrl() { @@ -1246,6 +1313,9 @@ public Builder clearTrackingUrl() { * * * string tracking_url = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for trackingUrl to set. + * @return This builder for chaining. */ public Builder setTrackingUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/YarnApplicationOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/YarnApplicationOrBuilder.java index 23ac7b4e..00e85de4 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/YarnApplicationOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/YarnApplicationOrBuilder.java @@ -31,6 +31,8 @@ public interface YarnApplicationOrBuilder * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ java.lang.String getName(); /** @@ -41,6 +43,8 @@ public interface YarnApplicationOrBuilder * * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -54,6 +58,8 @@ public interface YarnApplicationOrBuilder * * .google.cloud.dataproc.v1beta2.YarnApplication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The enum numeric value on the wire for state. */ int getStateValue(); /** @@ -66,6 +72,8 @@ public interface YarnApplicationOrBuilder * * .google.cloud.dataproc.v1beta2.YarnApplication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The state. */ com.google.cloud.dataproc.v1beta2.YarnApplication.State getState(); @@ -77,6 +85,8 @@ public interface YarnApplicationOrBuilder * * * float progress = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The progress. */ float getProgress(); @@ -91,6 +101,8 @@ public interface YarnApplicationOrBuilder * * * string tracking_url = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The trackingUrl. */ java.lang.String getTrackingUrl(); /** @@ -104,6 +116,8 @@ public interface YarnApplicationOrBuilder * * * string tracking_url = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for trackingUrl. */ com.google.protobuf.ByteString getTrackingUrlBytes(); } diff --git a/synth.metadata b/synth.metadata index e8ee236d..2578f6e8 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-11-19T19:46:25.032066Z", + "updateTime": "2019-12-12T08:40:24.848514Z", "sources": [ { "generator": { "name": "artman", - "version": "0.42.1", - "dockerImage": "googleapis/artman@sha256:c773192618c608a7a0415dd95282f841f8e6bcdef7dd760a988c93b77a64bd57" + "version": "0.42.2", + "dockerImage": "googleapis/artman@sha256:a86051ce32e2454ca2558ec9e437d46c2184b6dd291f57b0686676d77242658e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5af83f47b9656261cafcf88b0b3334521ab266b3", - "internalRef": "281334391" + "sha": "19c4589a3cb44b3679f7b3fba88365b3d055d5f8", + "internalRef": "285013366" } }, {