public static final class Destination.DestinationEndpoint.Builder extends GeneratedMessage.Builder<Destination.DestinationEndpoint.Builder> implements Destination.DestinationEndpointOrBuilder The metadata for a DestinationEndpoint resource.
Protobuf type google.cloud.networkconnectivity.v1.Destination.DestinationEndpoint
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Destination.DestinationEndpoint.BuilderImplements
Destination.DestinationEndpointOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Destination.DestinationEndpoint build()| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint |
|
buildPartial()
public Destination.DestinationEndpoint buildPartial()| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint |
|
clear()
public Destination.DestinationEndpoint.Builder clear()| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint.Builder |
|
clearAsn()
public Destination.DestinationEndpoint.Builder clearAsn()Required. The ASN of the remote IP prefix.
int64 asn = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint.Builder |
This builder for chaining. |
clearCsp()
public Destination.DestinationEndpoint.Builder clearCsp()Required. The CSP of the remote IP prefix.
string csp = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint.Builder |
This builder for chaining. |
clearState()
public Destination.DestinationEndpoint.Builder clearState() Output only. The state of the DestinationEndpoint resource.
.google.cloud.networkconnectivity.v1.Destination.DestinationEndpoint.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint.Builder |
This builder for chaining. |
clearUpdateTime()
public Destination.DestinationEndpoint.Builder clearUpdateTime() Output only. Time when the DestinationEndpoint resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint.Builder |
|
getAsn()
public long getAsn()Required. The ASN of the remote IP prefix.
int64 asn = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The asn. |
getCsp()
public String getCsp()Required. The CSP of the remote IP prefix.
string csp = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The csp. |
getCspBytes()
public ByteString getCspBytes()Required. The CSP of the remote IP prefix.
string csp = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for csp. |
getDefaultInstanceForType()
public Destination.DestinationEndpoint getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getState()
public Destination.DestinationEndpoint.State getState() Output only. The state of the DestinationEndpoint resource.
.google.cloud.networkconnectivity.v1.Destination.DestinationEndpoint.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint.State |
The state. |
getStateValue()
public int getStateValue() Output only. The state of the DestinationEndpoint resource.
.google.cloud.networkconnectivity.v1.Destination.DestinationEndpoint.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime() Output only. Time when the DestinationEndpoint resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder() Output only. Time when the DestinationEndpoint resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder() Output only. Time when the DestinationEndpoint resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasUpdateTime()
public boolean hasUpdateTime() Output only. Time when the DestinationEndpoint resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Destination.DestinationEndpoint other)
public Destination.DestinationEndpoint.Builder mergeFrom(Destination.DestinationEndpoint other)| Parameter | |
|---|---|
| Name | Description |
other |
Destination.DestinationEndpoint |
| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Destination.DestinationEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Destination.DestinationEndpoint.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint.Builder |
|
mergeUpdateTime(Timestamp value)
public Destination.DestinationEndpoint.Builder mergeUpdateTime(Timestamp value) Output only. Time when the DestinationEndpoint resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint.Builder |
|
setAsn(long value)
public Destination.DestinationEndpoint.Builder setAsn(long value)Required. The ASN of the remote IP prefix.
int64 asn = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe asn to set. |
| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint.Builder |
This builder for chaining. |
setCsp(String value)
public Destination.DestinationEndpoint.Builder setCsp(String value)Required. The CSP of the remote IP prefix.
string csp = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe csp to set. |
| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint.Builder |
This builder for chaining. |
setCspBytes(ByteString value)
public Destination.DestinationEndpoint.Builder setCspBytes(ByteString value)Required. The CSP of the remote IP prefix.
string csp = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for csp to set. |
| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint.Builder |
This builder for chaining. |
setState(Destination.DestinationEndpoint.State value)
public Destination.DestinationEndpoint.Builder setState(Destination.DestinationEndpoint.State value) Output only. The state of the DestinationEndpoint resource.
.google.cloud.networkconnectivity.v1.Destination.DestinationEndpoint.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Destination.DestinationEndpoint.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint.Builder |
This builder for chaining. |
setStateValue(int value)
public Destination.DestinationEndpoint.Builder setStateValue(int value) Output only. The state of the DestinationEndpoint resource.
.google.cloud.networkconnectivity.v1.Destination.DestinationEndpoint.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public Destination.DestinationEndpoint.Builder setUpdateTime(Timestamp value) Output only. Time when the DestinationEndpoint resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public Destination.DestinationEndpoint.Builder setUpdateTime(Timestamp.Builder builderForValue) Output only. Time when the DestinationEndpoint resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Destination.DestinationEndpoint.Builder |
|