Package com.google.cloud.compute.v1
Class ListAssociationsFirewallPolicyRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListAssociationsFirewallPolicyRequest.Builder>
com.google.cloud.compute.v1.ListAssociationsFirewallPolicyRequest.Builder
- All Implemented Interfaces:
ListAssociationsFirewallPolicyRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListAssociationsFirewallPolicyRequest
public static final class ListAssociationsFirewallPolicyRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListAssociationsFirewallPolicyRequest.Builder>
implements ListAssociationsFirewallPolicyRequestOrBuilder
A request message for FirewallPolicies.ListAssociations. See the method description for details.Protobuf type
google.cloud.compute.v1.ListAssociationsFirewallPolicyRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()If set to "true", the response will contain a list of all associations for the containing folders and the containing organization of the target.The target resource to list associations.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIf set to "true", the response will contain a list of all associations for the containing folders and the containing organization of the target.The target resource to list associations.com.google.protobuf.ByteStringThe target resource to list associations.booleanIf set to "true", the response will contain a list of all associations for the containing folders and the containing organization of the target.booleanThe target resource to list associations.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setIncludeInheritedPolicies(boolean value) If set to "true", the response will contain a list of all associations for the containing folders and the containing organization of the target.setTargetResource(String value) The target resource to list associations.setTargetResourceBytes(com.google.protobuf.ByteString value) The target resource to list associations.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListAssociationsFirewallPolicyRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListAssociationsFirewallPolicyRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListAssociationsFirewallPolicyRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListAssociationsFirewallPolicyRequest.Builder>
-
mergeFrom
public ListAssociationsFirewallPolicyRequest.Builder mergeFrom(ListAssociationsFirewallPolicyRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListAssociationsFirewallPolicyRequest.Builder>
-
mergeFrom
public ListAssociationsFirewallPolicyRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListAssociationsFirewallPolicyRequest.Builder>- Throws:
IOException
-
hasIncludeInheritedPolicies
public boolean hasIncludeInheritedPolicies()If set to "true", the response will contain a list of all associations for the containing folders and the containing organization of the target. The parameter has no effect if the target is an organization.
optional bool include_inherited_policies = 32280076;- Specified by:
hasIncludeInheritedPoliciesin interfaceListAssociationsFirewallPolicyRequestOrBuilder- Returns:
- Whether the includeInheritedPolicies field is set.
-
getIncludeInheritedPolicies
public boolean getIncludeInheritedPolicies()If set to "true", the response will contain a list of all associations for the containing folders and the containing organization of the target. The parameter has no effect if the target is an organization.
optional bool include_inherited_policies = 32280076;- Specified by:
getIncludeInheritedPoliciesin interfaceListAssociationsFirewallPolicyRequestOrBuilder- Returns:
- The includeInheritedPolicies.
-
setIncludeInheritedPolicies
If set to "true", the response will contain a list of all associations for the containing folders and the containing organization of the target. The parameter has no effect if the target is an organization.
optional bool include_inherited_policies = 32280076;- Parameters:
value- The includeInheritedPolicies to set.- Returns:
- This builder for chaining.
-
clearIncludeInheritedPolicies
If set to "true", the response will contain a list of all associations for the containing folders and the containing organization of the target. The parameter has no effect if the target is an organization.
optional bool include_inherited_policies = 32280076;- Returns:
- This builder for chaining.
-
hasTargetResource
public boolean hasTargetResource()The target resource to list associations. It is an organization, or a folder.
optional string target_resource = 467318524;- Specified by:
hasTargetResourcein interfaceListAssociationsFirewallPolicyRequestOrBuilder- Returns:
- Whether the targetResource field is set.
-
getTargetResource
The target resource to list associations. It is an organization, or a folder.
optional string target_resource = 467318524;- Specified by:
getTargetResourcein interfaceListAssociationsFirewallPolicyRequestOrBuilder- Returns:
- The targetResource.
-
getTargetResourceBytes
public com.google.protobuf.ByteString getTargetResourceBytes()The target resource to list associations. It is an organization, or a folder.
optional string target_resource = 467318524;- Specified by:
getTargetResourceBytesin interfaceListAssociationsFirewallPolicyRequestOrBuilder- Returns:
- The bytes for targetResource.
-
setTargetResource
The target resource to list associations. It is an organization, or a folder.
optional string target_resource = 467318524;- Parameters:
value- The targetResource to set.- Returns:
- This builder for chaining.
-
clearTargetResource
The target resource to list associations. It is an organization, or a folder.
optional string target_resource = 467318524;- Returns:
- This builder for chaining.
-
setTargetResourceBytes
public ListAssociationsFirewallPolicyRequest.Builder setTargetResourceBytes(com.google.protobuf.ByteString value) The target resource to list associations. It is an organization, or a folder.
optional string target_resource = 467318524;- Parameters:
value- The bytes for targetResource to set.- Returns:
- This builder for chaining.
-