Class SubmitConfigSourceRequest (3.45.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
Type Description
int

SERVICE_NAME_FIELD_NUMBER

public static final int SERVICE_NAME_FIELD_NUMBER
Field Value
Type Description
int

VALIDATE_ONLY_FIELD_NUMBER

public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SubmitConfigSourceRequest getDefaultInstance()
Returns
Type Description
SubmitConfigSourceRequest

getDescriptor()

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

newBuilder()

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

newBuilder(SubmitConfigSourceRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SubmitConfigSourceRequest getDefaultInstanceForType()
Returns
Type Description
SubmitConfigSourceRequest

getParserForType()

public Parser<SubmitConfigSourceRequest> getParserForType()
Returns
Type Description
Parser<SubmitConfigSourceRequest>
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.

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
Type Description
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
Type Description
boolean

Whether the configSource field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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