Class PreviewGameServerDeploymentRolloutResponse.Builder

public static final class PreviewGameServerDeploymentRolloutResponse.Builder extends GeneratedMessageV3.Builder<PreviewGameServerDeploymentRolloutResponse.Builder> implements PreviewGameServerDeploymentRolloutResponseOrBuilder

Response message for PreviewGameServerDeploymentRollout. This has details about the Agones fleet and autoscaler to be actuated.

Protobuf type google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutResponse

Methods

addAllUnavailable(Iterable<String> values)

public PreviewGameServerDeploymentRolloutResponse.Builder addAllUnavailable(Iterable<String> values)

Locations that could not be reached on this request.

repeated string unavailable = 2;

Parameter
NameDescription
valuesIterable<String>

The unavailable to add.

Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PreviewGameServerDeploymentRolloutResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder
Overrides

addUnavailable(String value)

public PreviewGameServerDeploymentRolloutResponse.Builder addUnavailable(String value)

Locations that could not be reached on this request.

repeated string unavailable = 2;

Parameter
NameDescription
valueString

The unavailable to add.

Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder

This builder for chaining.

addUnavailableBytes(ByteString value)

public PreviewGameServerDeploymentRolloutResponse.Builder addUnavailableBytes(ByteString value)

Locations that could not be reached on this request.

repeated string unavailable = 2;

Parameter
NameDescription
valueByteString

The bytes of the unavailable to add.

Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder

This builder for chaining.

build()

public PreviewGameServerDeploymentRolloutResponse build()
Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse

buildPartial()

public PreviewGameServerDeploymentRolloutResponse buildPartial()
Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse

clear()

public PreviewGameServerDeploymentRolloutResponse.Builder clear()
Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder
Overrides

clearEtag()

public PreviewGameServerDeploymentRolloutResponse.Builder clearEtag()

ETag of the game server deployment.

string etag = 3;

Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PreviewGameServerDeploymentRolloutResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PreviewGameServerDeploymentRolloutResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder
Overrides

clearTargetState()

public PreviewGameServerDeploymentRolloutResponse.Builder clearTargetState()

The target state.

.google.cloud.gaming.v1beta.TargetState target_state = 4;

Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder

clearUnavailable()

public PreviewGameServerDeploymentRolloutResponse.Builder clearUnavailable()

Locations that could not be reached on this request.

repeated string unavailable = 2;

Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder

This builder for chaining.

clone()

public PreviewGameServerDeploymentRolloutResponse.Builder clone()
Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder
Overrides

getDefaultInstanceForType()

public PreviewGameServerDeploymentRolloutResponse getDefaultInstanceForType()
Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEtag()

public String getEtag()

ETag of the game server deployment.

string etag = 3;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

ETag of the game server deployment.

string etag = 3;

Returns
TypeDescription
ByteString

The bytes for etag.

getTargetState()

public TargetState getTargetState()

The target state.

.google.cloud.gaming.v1beta.TargetState target_state = 4;

Returns
TypeDescription
TargetState

The targetState.

getTargetStateBuilder()

public TargetState.Builder getTargetStateBuilder()

The target state.

.google.cloud.gaming.v1beta.TargetState target_state = 4;

Returns
TypeDescription
TargetState.Builder

getTargetStateOrBuilder()

public TargetStateOrBuilder getTargetStateOrBuilder()

The target state.

.google.cloud.gaming.v1beta.TargetState target_state = 4;

Returns
TypeDescription
TargetStateOrBuilder

getUnavailable(int index)

public String getUnavailable(int index)

Locations that could not be reached on this request.

repeated string unavailable = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unavailable at the given index.

getUnavailableBytes(int index)

public ByteString getUnavailableBytes(int index)

Locations that could not be reached on this request.

repeated string unavailable = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unavailable at the given index.

getUnavailableCount()

public int getUnavailableCount()

Locations that could not be reached on this request.

repeated string unavailable = 2;

Returns
TypeDescription
int

The count of unavailable.

getUnavailableList()

public ProtocolStringList getUnavailableList()

Locations that could not be reached on this request.

repeated string unavailable = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the unavailable.

hasTargetState()

public boolean hasTargetState()

The target state.

.google.cloud.gaming.v1beta.TargetState target_state = 4;

Returns
TypeDescription
boolean

Whether the targetState field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PreviewGameServerDeploymentRolloutResponse other)

public PreviewGameServerDeploymentRolloutResponse.Builder mergeFrom(PreviewGameServerDeploymentRolloutResponse other)
Parameter
NameDescription
otherPreviewGameServerDeploymentRolloutResponse
Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PreviewGameServerDeploymentRolloutResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PreviewGameServerDeploymentRolloutResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder
Overrides

mergeTargetState(TargetState value)

public PreviewGameServerDeploymentRolloutResponse.Builder mergeTargetState(TargetState value)

The target state.

.google.cloud.gaming.v1beta.TargetState target_state = 4;

Parameter
NameDescription
valueTargetState
Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PreviewGameServerDeploymentRolloutResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder
Overrides

setEtag(String value)

public PreviewGameServerDeploymentRolloutResponse.Builder setEtag(String value)

ETag of the game server deployment.

string etag = 3;

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public PreviewGameServerDeploymentRolloutResponse.Builder setEtagBytes(ByteString value)

ETag of the game server deployment.

string etag = 3;

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PreviewGameServerDeploymentRolloutResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PreviewGameServerDeploymentRolloutResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder
Overrides

setTargetState(TargetState value)

public PreviewGameServerDeploymentRolloutResponse.Builder setTargetState(TargetState value)

The target state.

.google.cloud.gaming.v1beta.TargetState target_state = 4;

Parameter
NameDescription
valueTargetState
Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder

setTargetState(TargetState.Builder builderForValue)

public PreviewGameServerDeploymentRolloutResponse.Builder setTargetState(TargetState.Builder builderForValue)

The target state.

.google.cloud.gaming.v1beta.TargetState target_state = 4;

Parameter
NameDescription
builderForValueTargetState.Builder
Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder

setUnavailable(int index, String value)

public PreviewGameServerDeploymentRolloutResponse.Builder setUnavailable(int index, String value)

Locations that could not be reached on this request.

repeated string unavailable = 2;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unavailable to set.

Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PreviewGameServerDeploymentRolloutResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PreviewGameServerDeploymentRolloutResponse.Builder
Overrides