public static final class CreateServiceRolloutRequest.Builder extends GeneratedMessageV3.Builder<CreateServiceRolloutRequest.Builder> implements CreateServiceRolloutRequestOrBuilder
Request message for 'CreateServiceRollout'
Protobuf type google.api.servicemanagement.v1.CreateServiceRolloutRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateServiceRolloutRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateServiceRolloutRequest build()
Returns
buildPartial()
public CreateServiceRolloutRequest buildPartial()
Returns
clear()
public CreateServiceRolloutRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateServiceRolloutRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateServiceRolloutRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRollout()
public CreateServiceRolloutRequest.Builder clearRollout()
Required. The rollout resource. The service_name
field is output only.
.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearServiceName()
public CreateServiceRolloutRequest.Builder clearServiceName()
Required. The name of the service. See the overview
for naming requirements. For example: example.googleapis.com
.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public CreateServiceRolloutRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateServiceRolloutRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getRollout()
public Rollout getRollout()
Required. The rollout resource. The service_name
field is output only.
.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getRolloutBuilder()
public Rollout.Builder getRolloutBuilder()
Required. The rollout resource. The service_name
field is output only.
.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getRolloutOrBuilder()
public RolloutOrBuilder getRolloutOrBuilder()
Required. The rollout resource. The service_name
field is output only.
.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getServiceName()
public String getServiceName()
Required. The name of the service. See the overview
for naming requirements. For example: example.googleapis.com
.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The serviceName.
|
getServiceNameBytes()
public ByteString getServiceNameBytes()
Required. The name of the service. See the overview
for naming requirements. For example: example.googleapis.com
.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for serviceName.
|
hasRollout()
public boolean hasRollout()
Required. The rollout resource. The service_name
field is output only.
.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the rollout field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateServiceRolloutRequest other)
public CreateServiceRolloutRequest.Builder mergeFrom(CreateServiceRolloutRequest other)
Parameter
Returns
public CreateServiceRolloutRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateServiceRolloutRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeRollout(Rollout value)
public CreateServiceRolloutRequest.Builder mergeRollout(Rollout value)
Required. The rollout resource. The service_name
field is output only.
.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateServiceRolloutRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateServiceRolloutRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateServiceRolloutRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setRollout(Rollout value)
public CreateServiceRolloutRequest.Builder setRollout(Rollout value)
Required. The rollout resource. The service_name
field is output only.
.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRollout(Rollout.Builder builderForValue)
public CreateServiceRolloutRequest.Builder setRollout(Rollout.Builder builderForValue)
Required. The rollout resource. The service_name
field is output only.
.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setServiceName(String value)
public CreateServiceRolloutRequest.Builder setServiceName(String value)
Required. The name of the service. See the overview
for naming requirements. For example: example.googleapis.com
.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The serviceName to set.
|
Returns
setServiceNameBytes(ByteString value)
public CreateServiceRolloutRequest.Builder setServiceNameBytes(ByteString value)
Required. The name of the service. See the overview
for naming requirements. For example: example.googleapis.com
.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for serviceName to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateServiceRolloutRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides