Class CreateServiceConfigRequest (3.28.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
TypeDescription
int

SERVICE_NAME_FIELD_NUMBER

public static final int SERVICE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateServiceConfigRequest getDefaultInstance()
Returns
TypeDescription
CreateServiceConfigRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateServiceConfigRequest prototype)

public static CreateServiceConfigRequest.Builder newBuilder(CreateServiceConfigRequest prototype)
Parameter
NameDescription
prototypeCreateServiceConfigRequest
Returns
TypeDescription
CreateServiceConfigRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreateServiceConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateServiceConfigRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServiceConfig()

public Service getServiceConfig()

Required. The service configuration resource.

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

Returns
TypeDescription
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
TypeDescription
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
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.

hasServiceConfig()

public boolean hasServiceConfig()

Required. The service configuration resource.

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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