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
SERVICE_NAME_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER
Field Value
VALIDATE_ONLY_FIELD_NUMBER
public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SubmitConfigSourceRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SubmitConfigSourceRequest.Builder newBuilder()
Returns
newBuilder(SubmitConfigSourceRequest prototype)
public static SubmitConfigSourceRequest.Builder newBuilder(SubmitConfigSourceRequest prototype)
Parameter
Returns
public static SubmitConfigSourceRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SubmitConfigSourceRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SubmitConfigSourceRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SubmitConfigSourceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SubmitConfigSourceRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SubmitConfigSourceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SubmitConfigSourceRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SubmitConfigSourceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SubmitConfigSourceRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SubmitConfigSourceRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SubmitConfigSourceRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SubmitConfigSourceRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SubmitConfigSourceRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
getDefaultInstanceForType()
public SubmitConfigSourceRequest getDefaultInstanceForType()
Returns
getParserForType()
public Parser<SubmitConfigSourceRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SubmitConfigSourceRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SubmitConfigSourceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SubmitConfigSourceRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions