Class SubmitConfigSourceRequest (3.14.0)

public final class SubmitConfigSourceRequest extends GeneratedMessageV3 implements SubmitConfigSourceRequestOrBuilder

Request message for SubmitConfigSource method.

Protobuf type google.api.servicemanagement.v1.SubmitConfigSourceRequest

Static Fields

CONFIG_SOURCE_FIELD_NUMBER

public static final int CONFIG_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_NAME_FIELD_NUMBER

public static final int SERVICE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

VALIDATE_ONLY_FIELD_NUMBER

public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SubmitConfigSourceRequest getDefaultInstance()
Returns
TypeDescription
SubmitConfigSourceRequest

getDescriptor()

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

newBuilder()

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

newBuilder(SubmitConfigSourceRequest prototype)

public static SubmitConfigSourceRequest.Builder newBuilder(SubmitConfigSourceRequest prototype)
Parameter
NameDescription
prototypeSubmitConfigSourceRequest
Returns
TypeDescription
SubmitConfigSourceRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConfigSource()

public ConfigSource getConfigSource()

Required. The source configuration for the service.

.google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConfigSource

The configSource.

getConfigSourceOrBuilder()

public ConfigSourceOrBuilder getConfigSourceOrBuilder()

Required. The source configuration for the service.

.google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConfigSourceOrBuilder

getDefaultInstanceForType()

public SubmitConfigSourceRequest getDefaultInstanceForType()
Returns
TypeDescription
SubmitConfigSourceRequest

getParserForType()

public Parser<SubmitConfigSourceRequest> getParserForType()
Returns
TypeDescription
Parser<SubmitConfigSourceRequest>
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

getValidateOnly()

public boolean getValidateOnly()

Optional. If set, this will result in the generation of a google.api.Service configuration based on the ConfigSource provided, but the generated config and the sources will NOT be persisted.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The validateOnly.

hasConfigSource()

public boolean hasConfigSource()

Required. The source configuration for the service.

.google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the configSource field is set.

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 SubmitConfigSourceRequest.Builder newBuilderForType()
Returns
TypeDescription
SubmitConfigSourceRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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