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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetSslPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetSslPolicyRequest build()
Returns
buildPartial()
public GetSslPolicyRequest buildPartial()
Returns
clear()
public GetSslPolicyRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetSslPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GetSslPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProject()
public GetSslPolicyRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
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
clone()
public GetSslPolicyRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetSslPolicyRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getProject()
public String getProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The project.
|
getProjectBytes()
public ByteString getProjectBytes()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
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
Type | Description |
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetSslPolicyRequest other)
public GetSslPolicyRequest.Builder mergeFrom(GetSslPolicyRequest other)
Parameter
Returns
public GetSslPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetSslPolicyRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetSslPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetSslPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setProject(String value)
public GetSslPolicyRequest.Builder setProject(String value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The project to set.
|
Returns
setProjectBytes(ByteString value)
public GetSslPolicyRequest.Builder setProjectBytes(ByteString value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for project to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetSslPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Name | Description |
value | String
The sslPolicy to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for sslPolicy to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final GetSslPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides