Class SaasCondition.Builder (0.23.0)

public static final class SaasCondition.Builder extends GeneratedMessage.Builder<SaasCondition.Builder> implements SaasConditionOrBuilder

SaasCondition describes the status of a Saas.

Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition

Static Methods

getDescriptor()

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

Methods

build()

public SaasCondition build()
Returns
Type Description
SaasCondition

buildPartial()

public SaasCondition buildPartial()
Returns
Type Description
SaasCondition

clear()

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

clearLastTransitionTime()

public SaasCondition.Builder clearLastTransitionTime()

Required. Last time the condition transited from one status to another.

.google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SaasCondition.Builder

clearMessage()

public SaasCondition.Builder clearMessage()

Required. Human readable message indicating details about the last transition.

string message = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SaasCondition.Builder

This builder for chaining.

clearReason()

public SaasCondition.Builder clearReason()

Required. Brief reason for the condition's last transition.

string reason = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SaasCondition.Builder

This builder for chaining.

clearStatus()

public SaasCondition.Builder clearStatus()

Required. Status of the condition.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition.Status status = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SaasCondition.Builder

This builder for chaining.

clearType()

public SaasCondition.Builder clearType()

Required. Type of the condition.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition.Type type = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SaasCondition.Builder

This builder for chaining.

getDefaultInstanceForType()

public SaasCondition getDefaultInstanceForType()
Returns
Type Description
SaasCondition

getDescriptorForType()

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

getLastTransitionTime()

public Timestamp getLastTransitionTime()

Required. Last time the condition transited from one status to another.

.google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The lastTransitionTime.

getLastTransitionTimeBuilder()

public Timestamp.Builder getLastTransitionTimeBuilder()

Required. Last time the condition transited from one status to another.

.google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getLastTransitionTimeOrBuilder()

public TimestampOrBuilder getLastTransitionTimeOrBuilder()

Required. Last time the condition transited from one status to another.

.google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

getMessage()

public String getMessage()

Required. Human readable message indicating details about the last transition.

string message = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Required. Human readable message indicating details about the last transition.

string message = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for message.

getReason()

public String getReason()

Required. Brief reason for the condition's last transition.

string reason = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The reason.

getReasonBytes()

public ByteString getReasonBytes()

Required. Brief reason for the condition's last transition.

string reason = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for reason.

getStatus()

public SaasCondition.Status getStatus()

Required. Status of the condition.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition.Status status = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SaasCondition.Status

The status.

getStatusValue()

public int getStatusValue()

Required. Status of the condition.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition.Status status = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for status.

getType()

public SaasCondition.Type getType()

Required. Type of the condition.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition.Type type = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SaasCondition.Type

The type.

getTypeValue()

public int getTypeValue()

Required. Type of the condition.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition.Type type = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for type.

hasLastTransitionTime()

public boolean hasLastTransitionTime()

Required. Last time the condition transited from one status to another.

.google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the lastTransitionTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SaasCondition other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLastTransitionTime(Timestamp value)

public SaasCondition.Builder mergeLastTransitionTime(Timestamp value)

Required. Last time the condition transited from one status to another.

.google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Timestamp
Returns
Type Description
SaasCondition.Builder

setLastTransitionTime(Timestamp value)

public SaasCondition.Builder setLastTransitionTime(Timestamp value)

Required. Last time the condition transited from one status to another.

.google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Timestamp
Returns
Type Description
SaasCondition.Builder

setLastTransitionTime(Timestamp.Builder builderForValue)

public SaasCondition.Builder setLastTransitionTime(Timestamp.Builder builderForValue)

Required. Last time the condition transited from one status to another.

.google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SaasCondition.Builder

setMessage(String value)

public SaasCondition.Builder setMessage(String value)

Required. Human readable message indicating details about the last transition.

string message = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The message to set.

Returns
Type Description
SaasCondition.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public SaasCondition.Builder setMessageBytes(ByteString value)

Required. Human readable message indicating details about the last transition.

string message = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
SaasCondition.Builder

This builder for chaining.

setReason(String value)

public SaasCondition.Builder setReason(String value)

Required. Brief reason for the condition's last transition.

string reason = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The reason to set.

Returns
Type Description
SaasCondition.Builder

This builder for chaining.

setReasonBytes(ByteString value)

public SaasCondition.Builder setReasonBytes(ByteString value)

Required. Brief reason for the condition's last transition.

string reason = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for reason to set.

Returns
Type Description
SaasCondition.Builder

This builder for chaining.

setStatus(SaasCondition.Status value)

public SaasCondition.Builder setStatus(SaasCondition.Status value)

Required. Status of the condition.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition.Status status = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SaasCondition.Status

The status to set.

Returns
Type Description
SaasCondition.Builder

This builder for chaining.

setStatusValue(int value)

public SaasCondition.Builder setStatusValue(int value)

Required. Status of the condition.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition.Status status = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

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

Returns
Type Description
SaasCondition.Builder

This builder for chaining.

setType(SaasCondition.Type value)

public SaasCondition.Builder setType(SaasCondition.Type value)

Required. Type of the condition.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition.Type type = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SaasCondition.Type

The type to set.

Returns
Type Description
SaasCondition.Builder

This builder for chaining.

setTypeValue(int value)

public SaasCondition.Builder setTypeValue(int value)

Required. Type of the condition.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition.Type type = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

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

Returns
Type Description
SaasCondition.Builder

This builder for chaining.