Class CreateServiceRolloutRequest (3.43.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
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 CreateServiceRolloutRequest getDefaultInstance()
Returns
Type Description
CreateServiceRolloutRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateServiceRolloutRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreateServiceRolloutRequest getDefaultInstanceForType()
Returns
Type Description
CreateServiceRolloutRequest

getParserForType()

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

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.

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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