Class GetServiceConfigRequest (3.45.0)

public final class GetServiceConfigRequest extends GeneratedMessageV3 implements GetServiceConfigRequestOrBuilder

Request message for GetServiceConfig method.

Protobuf type google.api.servicemanagement.v1.GetServiceConfigRequest

Static Fields

CONFIG_ID_FIELD_NUMBER

public static final int CONFIG_ID_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_NAME_FIELD_NUMBER

public static final int SERVICE_NAME_FIELD_NUMBER
Field Value
Type Description
int

VIEW_FIELD_NUMBER

public static final int VIEW_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GetServiceConfigRequest getDefaultInstance()
Returns
Type Description
GetServiceConfigRequest

getDescriptor()

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

newBuilder()

public static GetServiceConfigRequest.Builder newBuilder()
Returns
Type Description
GetServiceConfigRequest.Builder

newBuilder(GetServiceConfigRequest prototype)

public static GetServiceConfigRequest.Builder newBuilder(GetServiceConfigRequest prototype)
Parameter
Name Description
prototype GetServiceConfigRequest
Returns
Type Description
GetServiceConfigRequest.Builder

parseDelimitedFrom(InputStream input)

public static GetServiceConfigRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetServiceConfigRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetServiceConfigRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetServiceConfigRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GetServiceConfigRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GetServiceConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GetServiceConfigRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetServiceConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GetServiceConfigRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GetServiceConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GetServiceConfigRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetServiceConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GetServiceConfigRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GetServiceConfigRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GetServiceConfigRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetServiceConfigRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GetServiceConfigRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetServiceConfigRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetServiceConfigRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetServiceConfigRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GetServiceConfigRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GetServiceConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GetServiceConfigRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetServiceConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GetServiceConfigRequest> parser()
Returns
Type Description
Parser<GetServiceConfigRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<GetServiceConfigRequest> getParserForType()
Returns
Type Description
Parser<GetServiceConfigRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GetServiceConfigRequest.Builder newBuilderForType()
Returns
Type Description
GetServiceConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GetServiceConfigRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GetServiceConfigRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GetServiceConfigRequest.Builder toBuilder()
Returns
Type Description
GetServiceConfigRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException