Class GetSslPolicyRequest.Builder (1.17.0)

public static final class GetSslPolicyRequest.Builder extends GeneratedMessageV3.Builder<GetSslPolicyRequest.Builder> implements GetSslPolicyRequestOrBuilder

A request message for SslPolicies.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetSslPolicyRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetSslPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetSslPolicyRequest.Builder
Overrides

build()

public GetSslPolicyRequest build()
Returns
TypeDescription
GetSslPolicyRequest

buildPartial()

public GetSslPolicyRequest buildPartial()
Returns
TypeDescription
GetSslPolicyRequest

clear()

public GetSslPolicyRequest.Builder clear()
Returns
TypeDescription
GetSslPolicyRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetSslPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetSslPolicyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetSslPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetSslPolicyRequest.Builder
Overrides

clearProject()

public GetSslPolicyRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GetSslPolicyRequest.Builder

This builder for chaining.

clearSslPolicy()

public GetSslPolicyRequest.Builder clearSslPolicy()

Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.

string ssl_policy = 295190213 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GetSslPolicyRequest.Builder

This builder for chaining.

clone()

public GetSslPolicyRequest.Builder clone()
Returns
TypeDescription
GetSslPolicyRequest.Builder
Overrides

getDefaultInstanceForType()

public GetSslPolicyRequest getDefaultInstanceForType()
Returns
TypeDescription
GetSslPolicyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for project.

getSslPolicy()

public String getSslPolicy()

Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.

string ssl_policy = 295190213 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The sslPolicy.

getSslPolicyBytes()

public ByteString getSslPolicyBytes()

Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.

string ssl_policy = 295190213 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for sslPolicy.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetSslPolicyRequest other)

public GetSslPolicyRequest.Builder mergeFrom(GetSslPolicyRequest other)
Parameter
NameDescription
otherGetSslPolicyRequest
Returns
TypeDescription
GetSslPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetSslPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetSslPolicyRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetSslPolicyRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetSslPolicyRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetSslPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetSslPolicyRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetSslPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetSslPolicyRequest.Builder
Overrides

setProject(String value)

public GetSslPolicyRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The project to set.

Returns
TypeDescription
GetSslPolicyRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetSslPolicyRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
GetSslPolicyRequest.Builder

This builder for chaining.

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

public GetSslPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetSslPolicyRequest.Builder
Overrides

setSslPolicy(String value)

public GetSslPolicyRequest.Builder setSslPolicy(String value)

Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.

string ssl_policy = 295190213 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The sslPolicy to set.

Returns
TypeDescription
GetSslPolicyRequest.Builder

This builder for chaining.

setSslPolicyBytes(ByteString value)

public GetSslPolicyRequest.Builder setSslPolicyBytes(ByteString value)

Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.

string ssl_policy = 295190213 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for sslPolicy to set.

Returns
TypeDescription
GetSslPolicyRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GetSslPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetSslPolicyRequest.Builder
Overrides