Class GetServiceConfigRequest (3.16.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
TypeDescription
int

SERVICE_NAME_FIELD_NUMBER

public static final int SERVICE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

VIEW_FIELD_NUMBER

public static final int VIEW_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GetServiceConfigRequest getDefaultInstance()
Returns
TypeDescription
GetServiceConfigRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GetServiceConfigRequest.Builder newBuilder()
Returns
TypeDescription
GetServiceConfigRequest.Builder

newBuilder(GetServiceConfigRequest prototype)

public static GetServiceConfigRequest.Builder newBuilder(GetServiceConfigRequest prototype)
Parameter
NameDescription
prototypeGetServiceConfigRequest
Returns
TypeDescription
GetServiceConfigRequest.Builder

parseDelimitedFrom(InputStream input)

public static GetServiceConfigRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GetServiceConfigRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetServiceConfigRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetServiceConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GetServiceConfigRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GetServiceConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GetServiceConfigRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetServiceConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GetServiceConfigRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GetServiceConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GetServiceConfigRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetServiceConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GetServiceConfigRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GetServiceConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GetServiceConfigRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetServiceConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GetServiceConfigRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GetServiceConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetServiceConfigRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetServiceConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GetServiceConfigRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GetServiceConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GetServiceConfigRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetServiceConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GetServiceConfigRequest> parser()
Returns
TypeDescription
Parser<GetServiceConfigRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
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

getParserForType()

public Parser<GetServiceConfigRequest> getParserForType()
Returns
TypeDescription
Parser<GetServiceConfigRequest>
Overrides

getSerializedSize()

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GetServiceConfigRequest.Builder newBuilderForType()
Returns
TypeDescription
GetServiceConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GetServiceConfigRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GetServiceConfigRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GetServiceConfigRequest.Builder toBuilder()
Returns
TypeDescription
GetServiceConfigRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException