Class Stage.Builder (2.55.0)

public static final class Stage.Builder extends GeneratedMessageV3.Builder<Stage.Builder> implements StageOrBuilder

Each Stage of the deployment process

Protobuf type google.cloud.functions.v2beta.Stage

Implements

StageOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllStateMessages(Iterable<? extends StateMessage> values)

public Stage.Builder addAllStateMessages(Iterable<? extends StateMessage> values)

State messages from the current Stage.

repeated .google.cloud.functions.v2beta.StateMessage state_messages = 6;

Parameter
Name Description
values Iterable<? extends com.google.cloud.functions.v2beta.StateMessage>
Returns
Type Description
Stage.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Stage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Stage.Builder
Overrides

addStateMessages(StateMessage value)

public Stage.Builder addStateMessages(StateMessage value)

State messages from the current Stage.

repeated .google.cloud.functions.v2beta.StateMessage state_messages = 6;

Parameter
Name Description
value StateMessage
Returns
Type Description
Stage.Builder

addStateMessages(StateMessage.Builder builderForValue)

public Stage.Builder addStateMessages(StateMessage.Builder builderForValue)

State messages from the current Stage.

repeated .google.cloud.functions.v2beta.StateMessage state_messages = 6;

Parameter
Name Description
builderForValue StateMessage.Builder
Returns
Type Description
Stage.Builder

addStateMessages(int index, StateMessage value)

public Stage.Builder addStateMessages(int index, StateMessage value)

State messages from the current Stage.

repeated .google.cloud.functions.v2beta.StateMessage state_messages = 6;

Parameters
Name Description
index int
value StateMessage
Returns
Type Description
Stage.Builder

addStateMessages(int index, StateMessage.Builder builderForValue)

public Stage.Builder addStateMessages(int index, StateMessage.Builder builderForValue)

State messages from the current Stage.

repeated .google.cloud.functions.v2beta.StateMessage state_messages = 6;

Parameters
Name Description
index int
builderForValue StateMessage.Builder
Returns
Type Description
Stage.Builder

addStateMessagesBuilder()

public StateMessage.Builder addStateMessagesBuilder()

State messages from the current Stage.

repeated .google.cloud.functions.v2beta.StateMessage state_messages = 6;

Returns
Type Description
StateMessage.Builder

addStateMessagesBuilder(int index)

public StateMessage.Builder addStateMessagesBuilder(int index)

State messages from the current Stage.

repeated .google.cloud.functions.v2beta.StateMessage state_messages = 6;

Parameter
Name Description
index int
Returns
Type Description
StateMessage.Builder

build()

public Stage build()
Returns
Type Description
Stage

buildPartial()

public Stage buildPartial()
Returns
Type Description
Stage

clear()

public Stage.Builder clear()
Returns
Type Description
Stage.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Stage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Stage.Builder
Overrides

clearMessage()

public Stage.Builder clearMessage()

Message describing the Stage

string message = 2;

Returns
Type Description
Stage.Builder

This builder for chaining.

clearName()

public Stage.Builder clearName()

Name of the Stage. This will be unique for each Stage.

.google.cloud.functions.v2beta.Stage.Name name = 1;

Returns
Type Description
Stage.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Stage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Stage.Builder
Overrides

clearResource()

public Stage.Builder clearResource()

Resource of the Stage

string resource = 4;

Returns
Type Description
Stage.Builder

This builder for chaining.

clearResourceUri()

public Stage.Builder clearResourceUri()

Link to the current Stage resource

string resource_uri = 5;

Returns
Type Description
Stage.Builder

This builder for chaining.

clearState()

public Stage.Builder clearState()

Current state of the Stage

.google.cloud.functions.v2beta.Stage.State state = 3;

Returns
Type Description
Stage.Builder

This builder for chaining.

clearStateMessages()

public Stage.Builder clearStateMessages()

State messages from the current Stage.

repeated .google.cloud.functions.v2beta.StateMessage state_messages = 6;

Returns
Type Description
Stage.Builder

clone()

public Stage.Builder clone()
Returns
Type Description
Stage.Builder
Overrides

getDefaultInstanceForType()

public Stage getDefaultInstanceForType()
Returns
Type Description
Stage

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMessage()

public String getMessage()

Message describing the Stage

string message = 2;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Message describing the Stage

string message = 2;

Returns
Type Description
ByteString

The bytes for message.

getName()

public Stage.Name getName()

Name of the Stage. This will be unique for each Stage.

.google.cloud.functions.v2beta.Stage.Name name = 1;

Returns
Type Description
Stage.Name

The name.

getNameValue()

public int getNameValue()

Name of the Stage. This will be unique for each Stage.

.google.cloud.functions.v2beta.Stage.Name name = 1;

Returns
Type Description
int

The enum numeric value on the wire for name.

getResource()

public String getResource()

Resource of the Stage

string resource = 4;

Returns
Type Description
String

The resource.

getResourceBytes()

public ByteString getResourceBytes()

Resource of the Stage

string resource = 4;

Returns
Type Description
ByteString

The bytes for resource.

getResourceUri()

public String getResourceUri()

Link to the current Stage resource

string resource_uri = 5;

Returns
Type Description
String

The resourceUri.

getResourceUriBytes()

public ByteString getResourceUriBytes()

Link to the current Stage resource

string resource_uri = 5;

Returns
Type Description
ByteString

The bytes for resourceUri.

getState()

public Stage.State getState()

Current state of the Stage

.google.cloud.functions.v2beta.Stage.State state = 3;

Returns
Type Description
Stage.State

The state.

getStateMessages(int index)

public StateMessage getStateMessages(int index)

State messages from the current Stage.

repeated .google.cloud.functions.v2beta.StateMessage state_messages = 6;

Parameter
Name Description
index int
Returns
Type Description
StateMessage

getStateMessagesBuilder(int index)

public StateMessage.Builder getStateMessagesBuilder(int index)

State messages from the current Stage.

repeated .google.cloud.functions.v2beta.StateMessage state_messages = 6;

Parameter
Name Description
index int
Returns
Type Description
StateMessage.Builder

getStateMessagesBuilderList()

public List<StateMessage.Builder> getStateMessagesBuilderList()

State messages from the current Stage.

repeated .google.cloud.functions.v2beta.StateMessage state_messages = 6;

Returns
Type Description
List<Builder>

getStateMessagesCount()

public int getStateMessagesCount()

State messages from the current Stage.

repeated .google.cloud.functions.v2beta.StateMessage state_messages = 6;

Returns
Type Description
int

getStateMessagesList()

public List<StateMessage> getStateMessagesList()

State messages from the current Stage.

repeated .google.cloud.functions.v2beta.StateMessage state_messages = 6;

Returns
Type Description
List<StateMessage>

getStateMessagesOrBuilder(int index)

public StateMessageOrBuilder getStateMessagesOrBuilder(int index)

State messages from the current Stage.

repeated .google.cloud.functions.v2beta.StateMessage state_messages = 6;

Parameter
Name Description
index int
Returns
Type Description
StateMessageOrBuilder

getStateMessagesOrBuilderList()

public List<? extends StateMessageOrBuilder> getStateMessagesOrBuilderList()

State messages from the current Stage.

repeated .google.cloud.functions.v2beta.StateMessage state_messages = 6;

Returns
Type Description
List<? extends com.google.cloud.functions.v2beta.StateMessageOrBuilder>

getStateValue()

public int getStateValue()

Current state of the Stage

.google.cloud.functions.v2beta.Stage.State state = 3;

Returns
Type Description
int

The enum numeric value on the wire for state.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Stage other)

public Stage.Builder mergeFrom(Stage other)
Parameter
Name Description
other Stage
Returns
Type Description
Stage.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Stage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Stage.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Stage.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Stage.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Stage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Stage.Builder
Overrides

removeStateMessages(int index)

public Stage.Builder removeStateMessages(int index)

State messages from the current Stage.

repeated .google.cloud.functions.v2beta.StateMessage state_messages = 6;

Parameter
Name Description
index int
Returns
Type Description
Stage.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Stage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Stage.Builder
Overrides

setMessage(String value)

public Stage.Builder setMessage(String value)

Message describing the Stage

string message = 2;

Parameter
Name Description
value String

The message to set.

Returns
Type Description
Stage.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public Stage.Builder setMessageBytes(ByteString value)

Message describing the Stage

string message = 2;

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
Stage.Builder

This builder for chaining.

setName(Stage.Name value)

public Stage.Builder setName(Stage.Name value)

Name of the Stage. This will be unique for each Stage.

.google.cloud.functions.v2beta.Stage.Name name = 1;

Parameter
Name Description
value Stage.Name

The name to set.

Returns
Type Description
Stage.Builder

This builder for chaining.

setNameValue(int value)

public Stage.Builder setNameValue(int value)

Name of the Stage. This will be unique for each Stage.

.google.cloud.functions.v2beta.Stage.Name name = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for name to set.

Returns
Type Description
Stage.Builder

This builder for chaining.

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

public Stage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Stage.Builder
Overrides

setResource(String value)

public Stage.Builder setResource(String value)

Resource of the Stage

string resource = 4;

Parameter
Name Description
value String

The resource to set.

Returns
Type Description
Stage.Builder

This builder for chaining.

setResourceBytes(ByteString value)

public Stage.Builder setResourceBytes(ByteString value)

Resource of the Stage

string resource = 4;

Parameter
Name Description
value ByteString

The bytes for resource to set.

Returns
Type Description
Stage.Builder

This builder for chaining.

setResourceUri(String value)

public Stage.Builder setResourceUri(String value)

Link to the current Stage resource

string resource_uri = 5;

Parameter
Name Description
value String

The resourceUri to set.

Returns
Type Description
Stage.Builder

This builder for chaining.

setResourceUriBytes(ByteString value)

public Stage.Builder setResourceUriBytes(ByteString value)

Link to the current Stage resource

string resource_uri = 5;

Parameter
Name Description
value ByteString

The bytes for resourceUri to set.

Returns
Type Description
Stage.Builder

This builder for chaining.

setState(Stage.State value)

public Stage.Builder setState(Stage.State value)

Current state of the Stage

.google.cloud.functions.v2beta.Stage.State state = 3;

Parameter
Name Description
value Stage.State

The state to set.

Returns
Type Description
Stage.Builder

This builder for chaining.

setStateMessages(int index, StateMessage value)

public Stage.Builder setStateMessages(int index, StateMessage value)

State messages from the current Stage.

repeated .google.cloud.functions.v2beta.StateMessage state_messages = 6;

Parameters
Name Description
index int
value StateMessage
Returns
Type Description
Stage.Builder

setStateMessages(int index, StateMessage.Builder builderForValue)

public Stage.Builder setStateMessages(int index, StateMessage.Builder builderForValue)

State messages from the current Stage.

repeated .google.cloud.functions.v2beta.StateMessage state_messages = 6;

Parameters
Name Description
index int
builderForValue StateMessage.Builder
Returns
Type Description
Stage.Builder

setStateValue(int value)

public Stage.Builder setStateValue(int value)

Current state of the Stage

.google.cloud.functions.v2beta.Stage.State state = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Stage.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Stage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Stage.Builder
Overrides