Class GetServiceConfigRequest.Builder (3.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetServiceConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetServiceConfigRequest.Builder
Overrides

build()

public GetServiceConfigRequest build()
Returns
TypeDescription
GetServiceConfigRequest

buildPartial()

public GetServiceConfigRequest buildPartial()
Returns
TypeDescription
GetServiceConfigRequest

clear()

public GetServiceConfigRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
GetServiceConfigRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GetServiceConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetServiceConfigRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetServiceConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GetServiceConfigRequest.Builder

This builder for chaining.

clone()

public GetServiceConfigRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for configId.

getDefaultInstanceForType()

public GetServiceConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
GetServiceConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetServiceConfigRequest other)

public GetServiceConfigRequest.Builder mergeFrom(GetServiceConfigRequest other)
Parameter
NameDescription
otherGetServiceConfigRequest
Returns
TypeDescription
GetServiceConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetServiceConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetServiceConfigRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetServiceConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetServiceConfigRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetServiceConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The configId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for configId to set.

Returns
TypeDescription
GetServiceConfigRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GetServiceConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetServiceConfigRequest.Builder
Overrides

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

public GetServiceConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The serviceName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for serviceName to set.

Returns
TypeDescription
GetServiceConfigRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GetServiceConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueGetServiceConfigRequest.ConfigView

The view to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
GetServiceConfigRequest.Builder

This builder for chaining.