public static final class GetServiceRequest.Builder extends GeneratedMessageV3.Builder<GetServiceRequest.Builder> implements GetServiceRequestOrBuilder
Request message for GetService
method.
Protobuf type google.api.servicemanagement.v1.GetServiceRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetServiceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetServiceRequest build()
Returns
buildPartial()
public GetServiceRequest buildPartial()
Returns
clear()
public GetServiceRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetServiceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GetServiceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearServiceName()
public GetServiceRequest.Builder clearServiceName()
Required. The name of the service. See the ServiceManager
overview for naming
requirements. For example: example.googleapis.com
.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public GetServiceRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetServiceRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getServiceName()
public String getServiceName()
Required. The name of the service. See the ServiceManager
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 ServiceManager
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetServiceRequest other)
public GetServiceRequest.Builder mergeFrom(GetServiceRequest other)
Parameter
Returns
public GetServiceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetServiceRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetServiceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetServiceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetServiceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setServiceName(String value)
public GetServiceRequest.Builder setServiceName(String value)
Required. The name of the service. See the ServiceManager
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 GetServiceRequest.Builder setServiceNameBytes(ByteString value)
Required. The name of the service. See the ServiceManager
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 GetServiceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides