Class CreateServiceRolloutRequest (3.20.0)

public final class CreateServiceRolloutRequest extends GeneratedMessageV3 implements CreateServiceRolloutRequestOrBuilder

Request message for 'CreateServiceRollout'

Protobuf type google.api.servicemanagement.v1.CreateServiceRolloutRequest

Static Fields

ROLLOUT_FIELD_NUMBER

public static final int ROLLOUT_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 CreateServiceRolloutRequest getDefaultInstance()
Returns
TypeDescription
CreateServiceRolloutRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateServiceRolloutRequest prototype)

public static CreateServiceRolloutRequest.Builder newBuilder(CreateServiceRolloutRequest prototype)
Parameter
NameDescription
prototypeCreateServiceRolloutRequest
Returns
TypeDescription
CreateServiceRolloutRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreateServiceRolloutRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateServiceRolloutRequest

getParserForType()

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

getRollout()

public Rollout getRollout()

Required. The rollout resource. The service_name field is output only.

.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Rollout

The rollout.

getRolloutOrBuilder()

public RolloutOrBuilder getRolloutOrBuilder()

Required. The rollout resource. The service_name field is output only.

.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RolloutOrBuilder

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.

hasRollout()

public boolean hasRollout()

Required. The rollout resource. The service_name field is output only.

.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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