public static final class GetAssociationOrganizationSecurityPolicyRequest.Builder extends GeneratedMessage.Builder<GetAssociationOrganizationSecurityPolicyRequest.Builder> implements GetAssociationOrganizationSecurityPolicyRequestOrBuilderA request message for OrganizationSecurityPolicies.GetAssociation. See the method description for details.
Protobuf type google.cloud.compute.v1.GetAssociationOrganizationSecurityPolicyRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetAssociationOrganizationSecurityPolicyRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetAssociationOrganizationSecurityPolicyRequest build()| Returns | |
|---|---|
| Type | Description |
GetAssociationOrganizationSecurityPolicyRequest |
|
buildPartial()
public GetAssociationOrganizationSecurityPolicyRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetAssociationOrganizationSecurityPolicyRequest |
|
clear()
public GetAssociationOrganizationSecurityPolicyRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetAssociationOrganizationSecurityPolicyRequest.Builder |
|
clearName()
public GetAssociationOrganizationSecurityPolicyRequest.Builder clearName()The name of the association to get from the security policy.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
GetAssociationOrganizationSecurityPolicyRequest.Builder |
This builder for chaining. |
clearSecurityPolicy()
public GetAssociationOrganizationSecurityPolicyRequest.Builder clearSecurityPolicy()Name of the security policy to which the queried rule belongs.
string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetAssociationOrganizationSecurityPolicyRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetAssociationOrganizationSecurityPolicyRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetAssociationOrganizationSecurityPolicyRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()The name of the association to get from the security policy.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The name of the association to get from the security policy.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSecurityPolicy()
public String getSecurityPolicy()Name of the security policy to which the queried rule belongs.
string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The securityPolicy. |
getSecurityPolicyBytes()
public ByteString getSecurityPolicyBytes()Name of the security policy to which the queried rule belongs.
string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for securityPolicy. |
hasName()
public boolean hasName()The name of the association to get from the security policy.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the name field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetAssociationOrganizationSecurityPolicyRequest other)
public GetAssociationOrganizationSecurityPolicyRequest.Builder mergeFrom(GetAssociationOrganizationSecurityPolicyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetAssociationOrganizationSecurityPolicyRequest |
| Returns | |
|---|---|
| Type | Description |
GetAssociationOrganizationSecurityPolicyRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetAssociationOrganizationSecurityPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetAssociationOrganizationSecurityPolicyRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetAssociationOrganizationSecurityPolicyRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetAssociationOrganizationSecurityPolicyRequest.Builder |
|
setName(String value)
public GetAssociationOrganizationSecurityPolicyRequest.Builder setName(String value)The name of the association to get from the security policy.
optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
GetAssociationOrganizationSecurityPolicyRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GetAssociationOrganizationSecurityPolicyRequest.Builder setNameBytes(ByteString value)The name of the association to get from the security policy.
optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
GetAssociationOrganizationSecurityPolicyRequest.Builder |
This builder for chaining. |
setSecurityPolicy(String value)
public GetAssociationOrganizationSecurityPolicyRequest.Builder setSecurityPolicy(String value)Name of the security policy to which the queried rule belongs.
string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe securityPolicy to set. |
| Returns | |
|---|---|
| Type | Description |
GetAssociationOrganizationSecurityPolicyRequest.Builder |
This builder for chaining. |
setSecurityPolicyBytes(ByteString value)
public GetAssociationOrganizationSecurityPolicyRequest.Builder setSecurityPolicyBytes(ByteString value)Name of the security policy to which the queried rule belongs.
string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for securityPolicy to set. |
| Returns | |
|---|---|
| Type | Description |
GetAssociationOrganizationSecurityPolicyRequest.Builder |
This builder for chaining. |