Class GetServiceConfigRequest.Builder (3.53.0)

public static final class GetServiceConfigRequest.Builder extends GeneratedMessageV3.Builder<GetServiceConfigRequest.Builder> implements GetServiceConfigRequestOrBuilder

Request message for GetServiceConfig method.

Protobuf type google.api.servicemanagement.v1.GetServiceConfigRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetServiceConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetServiceConfigRequest.Builder
Overrides

build()

public GetServiceConfigRequest build()
Returns
Type Description
GetServiceConfigRequest

buildPartial()

public GetServiceConfigRequest buildPartial()
Returns
Type Description
GetServiceConfigRequest

clear()

public GetServiceConfigRequest.Builder clear()
Returns
Type Description
GetServiceConfigRequest.Builder
Overrides

clearConfigId()

public GetServiceConfigRequest.Builder clearConfigId()

Required. The id of the service configuration resource.

This field must be specified for the server to return all fields, including SourceInfo.

string config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetServiceConfigRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GetServiceConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetServiceConfigRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetServiceConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetServiceConfigRequest.Builder
Overrides

clearServiceName()

public GetServiceConfigRequest.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
Type Description
GetServiceConfigRequest.Builder

This builder for chaining.

clearView()

public GetServiceConfigRequest.Builder clearView()

Specifies which parts of the Service Config should be returned in the response.

.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3;

Returns
Type Description
GetServiceConfigRequest.Builder

This builder for chaining.

clone()

public GetServiceConfigRequest.Builder clone()
Returns
Type Description
GetServiceConfigRequest.Builder
Overrides

getConfigId()

public String getConfigId()

Required. The id of the service configuration resource.

This field must be specified for the server to return all fields, including SourceInfo.

string config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The configId.

getConfigIdBytes()

public ByteString getConfigIdBytes()

Required. The id of the service configuration resource.

This field must be specified for the server to return all fields, including SourceInfo.

string config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for configId.

getDefaultInstanceForType()

public GetServiceConfigRequest getDefaultInstanceForType()
Returns
Type Description
GetServiceConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getView()

public GetServiceConfigRequest.ConfigView getView()

Specifies which parts of the Service Config should be returned in the response.

.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3;

Returns
Type Description
GetServiceConfigRequest.ConfigView

The view.

getViewValue()

public int getViewValue()

Specifies which parts of the Service Config should be returned in the response.

.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3;

Returns
Type Description
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetServiceConfigRequest other)

public GetServiceConfigRequest.Builder mergeFrom(GetServiceConfigRequest other)
Parameter
Name Description
other GetServiceConfigRequest
Returns
Type Description
GetServiceConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetServiceConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetServiceConfigRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetServiceConfigRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetServiceConfigRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetServiceConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetServiceConfigRequest.Builder
Overrides

setConfigId(String value)

public GetServiceConfigRequest.Builder setConfigId(String value)

Required. The id of the service configuration resource.

This field must be specified for the server to return all fields, including SourceInfo.

string config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The configId to set.

Returns
Type Description
GetServiceConfigRequest.Builder

This builder for chaining.

setConfigIdBytes(ByteString value)

public GetServiceConfigRequest.Builder setConfigIdBytes(ByteString value)

Required. The id of the service configuration resource.

This field must be specified for the server to return all fields, including SourceInfo.

string config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for configId to set.

Returns
Type Description
GetServiceConfigRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GetServiceConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetServiceConfigRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetServiceConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetServiceConfigRequest.Builder
Overrides

setServiceName(String value)

public GetServiceConfigRequest.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
Type Description
GetServiceConfigRequest.Builder

This builder for chaining.

setServiceNameBytes(ByteString value)

public GetServiceConfigRequest.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
Type Description
GetServiceConfigRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GetServiceConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetServiceConfigRequest.Builder
Overrides

setView(GetServiceConfigRequest.ConfigView value)

public GetServiceConfigRequest.Builder setView(GetServiceConfigRequest.ConfigView value)

Specifies which parts of the Service Config should be returned in the response.

.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3;

Parameter
Name Description
value GetServiceConfigRequest.ConfigView

The view to set.

Returns
Type Description
GetServiceConfigRequest.Builder

This builder for chaining.

setViewValue(int value)

public GetServiceConfigRequest.Builder setViewValue(int value)

Specifies which parts of the Service Config should be returned in the response.

.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for view to set.

Returns
Type Description
GetServiceConfigRequest.Builder

This builder for chaining.