Class Boundary.Builder (0.67.0)

public static final class Boundary.Builder extends GeneratedMessage.Builder<Boundary.Builder> implements BoundaryOrBuilder

Application management boundary.

Protobuf type google.cloud.apphub.v1.Boundary

Implements

BoundaryOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public Boundary build()
Returns
Type Description
Boundary

buildPartial()

public Boundary buildPartial()
Returns
Type Description
Boundary

clear()

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

clearCreateTime()

public Boundary.Builder clearCreateTime()

Output only. Create time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Boundary.Builder

clearCrmNode()

public Boundary.Builder clearCrmNode()

Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number} or projects/{project-id}

string crm_node = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Boundary.Builder

This builder for chaining.

clearName()

public Boundary.Builder clearName()

Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{location}/boundary"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
Boundary.Builder

This builder for chaining.

clearScope()

public Boundary.Builder clearScope()
Returns
Type Description
Boundary.Builder

clearType()

public Boundary.Builder clearType()

Output only. Boundary type.

.google.cloud.apphub.v1.Boundary.Type type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Boundary.Builder

This builder for chaining.

clearUpdateTime()

public Boundary.Builder clearUpdateTime()

Output only. Update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Boundary.Builder

getCreateTime()

public Timestamp getCreateTime()

Output only. Create time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Create time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Create time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getCrmNode()

public String getCrmNode()

Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number} or projects/{project-id}

string crm_node = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The crmNode.

getCrmNodeBytes()

public ByteString getCrmNodeBytes()

Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number} or projects/{project-id}

string crm_node = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for crmNode.

getDefaultInstanceForType()

public Boundary getDefaultInstanceForType()
Returns
Type Description
Boundary

getDescriptorForType()

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

getName()

public String getName()

Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{location}/boundary"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{location}/boundary"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getScopeCase()

public Boundary.ScopeCase getScopeCase()
Returns
Type Description
Boundary.ScopeCase

getType()

public Boundary.Type getType()

Output only. Boundary type.

.google.cloud.apphub.v1.Boundary.Type type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Boundary.Type

The type.

getTypeValue()

public int getTypeValue()

Output only. Boundary type.

.google.cloud.apphub.v1.Boundary.Type type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Create time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasCrmNode()

public boolean hasCrmNode()

Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number} or projects/{project-id}

string crm_node = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the crmNode field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Boundary.Builder mergeCreateTime(Timestamp value)

Output only. Create time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Boundary.Builder

mergeFrom(Boundary other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUpdateTime(Timestamp value)

public Boundary.Builder mergeUpdateTime(Timestamp value)

Output only. Update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Boundary.Builder

setCreateTime(Timestamp value)

public Boundary.Builder setCreateTime(Timestamp value)

Output only. Create time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Boundary.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Boundary.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Create time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Boundary.Builder

setCrmNode(String value)

public Boundary.Builder setCrmNode(String value)

Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number} or projects/{project-id}

string crm_node = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The crmNode to set.

Returns
Type Description
Boundary.Builder

This builder for chaining.

setCrmNodeBytes(ByteString value)

public Boundary.Builder setCrmNodeBytes(ByteString value)

Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number} or projects/{project-id}

string crm_node = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for crmNode to set.

Returns
Type Description
Boundary.Builder

This builder for chaining.

setName(String value)

public Boundary.Builder setName(String value)

Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{location}/boundary"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Boundary.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Boundary.Builder setNameBytes(ByteString value)

Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{location}/boundary"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Boundary.Builder

This builder for chaining.

setType(Boundary.Type value)

public Boundary.Builder setType(Boundary.Type value)

Output only. Boundary type.

.google.cloud.apphub.v1.Boundary.Type type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Boundary.Type

The type to set.

Returns
Type Description
Boundary.Builder

This builder for chaining.

setTypeValue(int value)

public Boundary.Builder setTypeValue(int value)

Output only. Boundary type.

.google.cloud.apphub.v1.Boundary.Type type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
Boundary.Builder

This builder for chaining.

setUpdateTime(Timestamp value)

public Boundary.Builder setUpdateTime(Timestamp value)

Output only. Update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Boundary.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Boundary.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Boundary.Builder