Class CreateTlsRouteRequest.Builder (0.2.0)

public static final class CreateTlsRouteRequest.Builder extends GeneratedMessageV3.Builder<CreateTlsRouteRequest.Builder> implements CreateTlsRouteRequestOrBuilder

Request used by the TlsRoute method.

Protobuf type google.cloud.networkservices.v1.CreateTlsRouteRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateTlsRouteRequest build()
Returns
Type Description
CreateTlsRouteRequest

buildPartial()

public CreateTlsRouteRequest buildPartial()
Returns
Type Description
CreateTlsRouteRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateTlsRouteRequest.Builder clearParent()

Required. The parent resource of the TlsRoute. Must be in the format projects/*/locations/global.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateTlsRouteRequest.Builder

This builder for chaining.

clearTlsRoute()

public CreateTlsRouteRequest.Builder clearTlsRoute()

Required. TlsRoute resource to be created.

.google.cloud.networkservices.v1.TlsRoute tls_route = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateTlsRouteRequest.Builder

clearTlsRouteId()

public CreateTlsRouteRequest.Builder clearTlsRouteId()

Required. Short name of the TlsRoute resource to be created.

string tls_route_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateTlsRouteRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateTlsRouteRequest getDefaultInstanceForType()
Returns
Type Description
CreateTlsRouteRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent resource of the TlsRoute. Must be in the format projects/*/locations/global.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource of the TlsRoute. Must be in the format projects/*/locations/global.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getTlsRoute()

public TlsRoute getTlsRoute()

Required. TlsRoute resource to be created.

.google.cloud.networkservices.v1.TlsRoute tls_route = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TlsRoute

The tlsRoute.

getTlsRouteBuilder()

public TlsRoute.Builder getTlsRouteBuilder()

Required. TlsRoute resource to be created.

.google.cloud.networkservices.v1.TlsRoute tls_route = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TlsRoute.Builder

getTlsRouteId()

public String getTlsRouteId()

Required. Short name of the TlsRoute resource to be created.

string tls_route_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The tlsRouteId.

getTlsRouteIdBytes()

public ByteString getTlsRouteIdBytes()

Required. Short name of the TlsRoute resource to be created.

string tls_route_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for tlsRouteId.

getTlsRouteOrBuilder()

public TlsRouteOrBuilder getTlsRouteOrBuilder()

Required. TlsRoute resource to be created.

.google.cloud.networkservices.v1.TlsRoute tls_route = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TlsRouteOrBuilder

hasTlsRoute()

public boolean hasTlsRoute()

Required. TlsRoute resource to be created.

.google.cloud.networkservices.v1.TlsRoute tls_route = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the tlsRoute field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateTlsRouteRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTlsRoute(TlsRoute value)

public CreateTlsRouteRequest.Builder mergeTlsRoute(TlsRoute value)

Required. TlsRoute resource to be created.

.google.cloud.networkservices.v1.TlsRoute tls_route = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TlsRoute
Returns
Type Description
CreateTlsRouteRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateTlsRouteRequest.Builder setParent(String value)

Required. The parent resource of the TlsRoute. Must be in the format projects/*/locations/global.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateTlsRouteRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateTlsRouteRequest.Builder setParentBytes(ByteString value)

Required. The parent resource of the TlsRoute. Must be in the format projects/*/locations/global.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateTlsRouteRequest.Builder

This builder for chaining.

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

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

setTlsRoute(TlsRoute value)

public CreateTlsRouteRequest.Builder setTlsRoute(TlsRoute value)

Required. TlsRoute resource to be created.

.google.cloud.networkservices.v1.TlsRoute tls_route = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TlsRoute
Returns
Type Description
CreateTlsRouteRequest.Builder

setTlsRoute(TlsRoute.Builder builderForValue)

public CreateTlsRouteRequest.Builder setTlsRoute(TlsRoute.Builder builderForValue)

Required. TlsRoute resource to be created.

.google.cloud.networkservices.v1.TlsRoute tls_route = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue TlsRoute.Builder
Returns
Type Description
CreateTlsRouteRequest.Builder

setTlsRouteId(String value)

public CreateTlsRouteRequest.Builder setTlsRouteId(String value)

Required. Short name of the TlsRoute resource to be created.

string tls_route_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The tlsRouteId to set.

Returns
Type Description
CreateTlsRouteRequest.Builder

This builder for chaining.

setTlsRouteIdBytes(ByteString value)

public CreateTlsRouteRequest.Builder setTlsRouteIdBytes(ByteString value)

Required. Short name of the TlsRoute resource to be created.

string tls_route_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for tlsRouteId to set.

Returns
Type Description
CreateTlsRouteRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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