Class CreateServiceConfigRequest (3.53.0)

public final class CreateServiceConfigRequest extends GeneratedMessageV3 implements CreateServiceConfigRequestOrBuilder

Request message for CreateServiceConfig method.

Protobuf type google.api.servicemanagement.v1.CreateServiceConfigRequest

Static Fields

SERVICE_CONFIG_FIELD_NUMBER

public static final int SERVICE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_NAME_FIELD_NUMBER

public static final int SERVICE_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateServiceConfigRequest getDefaultInstance()
Returns
Type Description
CreateServiceConfigRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateServiceConfigRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CreateServiceConfigRequest getDefaultInstanceForType()
Returns
Type Description
CreateServiceConfigRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceConfig()

public Service getServiceConfig()

Required. The service configuration resource.

.google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.api.Service

The serviceConfig.

getServiceConfigOrBuilder()

public ServiceOrBuilder getServiceConfigOrBuilder()

Required. The service configuration resource.

.google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.api.ServiceOrBuilder

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.

hasServiceConfig()

public boolean hasServiceConfig()

Required. The service configuration resource.

.google.api.Service service_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the serviceConfig 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 CreateServiceConfigRequest.Builder newBuilderForType()
Returns
Type Description
CreateServiceConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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