public static final class AuthzPolicy.AuthzRule.From.Builder extends GeneratedMessage.Builder<AuthzPolicy.AuthzRule.From.Builder> implements AuthzPolicy.AuthzRule.FromOrBuilder
Describes properties of one or more sources of a request.
Protobuf type google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllNotSources(Iterable<? extends AuthzPolicy.AuthzRule.From.RequestSource> values)
public AuthzPolicy.AuthzRule.From.Builder addAllNotSources(Iterable<? extends AuthzPolicy.AuthzRule.From.RequestSource> values)
Optional. Describes the negated properties of request sources. Matches
requests from sources that do not match the criteria specified in this
field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource>
|
addAllSources(Iterable<? extends AuthzPolicy.AuthzRule.From.RequestSource> values)
public AuthzPolicy.AuthzRule.From.Builder addAllSources(Iterable<? extends AuthzPolicy.AuthzRule.From.RequestSource> values)
Optional. Describes the properties of a request's sources. At least one
of sources or notSources must be specified. Limited to 1 source.
A match occurs when ANY source (in sources or notSources) matches the
request. Within a single source, the match follows AND semantics
across fields and OR semantics within a single field, i.e. a match
occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource>
|
addNotSources(AuthzPolicy.AuthzRule.From.RequestSource value)
public AuthzPolicy.AuthzRule.From.Builder addNotSources(AuthzPolicy.AuthzRule.From.RequestSource value)
Optional. Describes the negated properties of request sources. Matches
requests from sources that do not match the criteria specified in this
field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
addNotSources(AuthzPolicy.AuthzRule.From.RequestSource.Builder builderForValue)
public AuthzPolicy.AuthzRule.From.Builder addNotSources(AuthzPolicy.AuthzRule.From.RequestSource.Builder builderForValue)
Optional. Describes the negated properties of request sources. Matches
requests from sources that do not match the criteria specified in this
field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
addNotSources(int index, AuthzPolicy.AuthzRule.From.RequestSource value)
public AuthzPolicy.AuthzRule.From.Builder addNotSources(int index, AuthzPolicy.AuthzRule.From.RequestSource value)
Optional. Describes the negated properties of request sources. Matches
requests from sources that do not match the criteria specified in this
field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
addNotSources(int index, AuthzPolicy.AuthzRule.From.RequestSource.Builder builderForValue)
public AuthzPolicy.AuthzRule.From.Builder addNotSources(int index, AuthzPolicy.AuthzRule.From.RequestSource.Builder builderForValue)
Optional. Describes the negated properties of request sources. Matches
requests from sources that do not match the criteria specified in this
field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
addNotSourcesBuilder()
public AuthzPolicy.AuthzRule.From.RequestSource.Builder addNotSourcesBuilder()
Optional. Describes the negated properties of request sources. Matches
requests from sources that do not match the criteria specified in this
field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
addNotSourcesBuilder(int index)
public AuthzPolicy.AuthzRule.From.RequestSource.Builder addNotSourcesBuilder(int index)
Optional. Describes the negated properties of request sources. Matches
requests from sources that do not match the criteria specified in this
field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
addSources(AuthzPolicy.AuthzRule.From.RequestSource value)
public AuthzPolicy.AuthzRule.From.Builder addSources(AuthzPolicy.AuthzRule.From.RequestSource value)
Optional. Describes the properties of a request's sources. At least one
of sources or notSources must be specified. Limited to 1 source.
A match occurs when ANY source (in sources or notSources) matches the
request. Within a single source, the match follows AND semantics
across fields and OR semantics within a single field, i.e. a match
occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
addSources(AuthzPolicy.AuthzRule.From.RequestSource.Builder builderForValue)
public AuthzPolicy.AuthzRule.From.Builder addSources(AuthzPolicy.AuthzRule.From.RequestSource.Builder builderForValue)
Optional. Describes the properties of a request's sources. At least one
of sources or notSources must be specified. Limited to 1 source.
A match occurs when ANY source (in sources or notSources) matches the
request. Within a single source, the match follows AND semantics
across fields and OR semantics within a single field, i.e. a match
occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
addSources(int index, AuthzPolicy.AuthzRule.From.RequestSource value)
public AuthzPolicy.AuthzRule.From.Builder addSources(int index, AuthzPolicy.AuthzRule.From.RequestSource value)
Optional. Describes the properties of a request's sources. At least one
of sources or notSources must be specified. Limited to 1 source.
A match occurs when ANY source (in sources or notSources) matches the
request. Within a single source, the match follows AND semantics
across fields and OR semantics within a single field, i.e. a match
occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
addSources(int index, AuthzPolicy.AuthzRule.From.RequestSource.Builder builderForValue)
public AuthzPolicy.AuthzRule.From.Builder addSources(int index, AuthzPolicy.AuthzRule.From.RequestSource.Builder builderForValue)
Optional. Describes the properties of a request's sources. At least one
of sources or notSources must be specified. Limited to 1 source.
A match occurs when ANY source (in sources or notSources) matches the
request. Within a single source, the match follows AND semantics
across fields and OR semantics within a single field, i.e. a match
occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
addSourcesBuilder()
public AuthzPolicy.AuthzRule.From.RequestSource.Builder addSourcesBuilder()
Optional. Describes the properties of a request's sources. At least one
of sources or notSources must be specified. Limited to 1 source.
A match occurs when ANY source (in sources or notSources) matches the
request. Within a single source, the match follows AND semantics
across fields and OR semantics within a single field, i.e. a match
occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
addSourcesBuilder(int index)
public AuthzPolicy.AuthzRule.From.RequestSource.Builder addSourcesBuilder(int index)
Optional. Describes the properties of a request's sources. At least one
of sources or notSources must be specified. Limited to 1 source.
A match occurs when ANY source (in sources or notSources) matches the
request. Within a single source, the match follows AND semantics
across fields and OR semantics within a single field, i.e. a match
occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
build()
public AuthzPolicy.AuthzRule.From build()
buildPartial()
public AuthzPolicy.AuthzRule.From buildPartial()
clear()
public AuthzPolicy.AuthzRule.From.Builder clear()
Overrides
clearNotSources()
public AuthzPolicy.AuthzRule.From.Builder clearNotSources()
Optional. Describes the negated properties of request sources. Matches
requests from sources that do not match the criteria specified in this
field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
clearSources()
public AuthzPolicy.AuthzRule.From.Builder clearSources()
Optional. Describes the properties of a request's sources. At least one
of sources or notSources must be specified. Limited to 1 source.
A match occurs when ANY source (in sources or notSources) matches the
request. Within a single source, the match follows AND semantics
across fields and OR semantics within a single field, i.e. a match
occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public AuthzPolicy.AuthzRule.From getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNotSources(int index)
public AuthzPolicy.AuthzRule.From.RequestSource getNotSources(int index)
Optional. Describes the negated properties of request sources. Matches
requests from sources that do not match the criteria specified in this
field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getNotSourcesBuilder(int index)
public AuthzPolicy.AuthzRule.From.RequestSource.Builder getNotSourcesBuilder(int index)
Optional. Describes the negated properties of request sources. Matches
requests from sources that do not match the criteria specified in this
field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getNotSourcesBuilderList()
public List<AuthzPolicy.AuthzRule.From.RequestSource.Builder> getNotSourcesBuilderList()
Optional. Describes the negated properties of request sources. Matches
requests from sources that do not match the criteria specified in this
field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
getNotSourcesCount()
public int getNotSourcesCount()
Optional. Describes the negated properties of request sources. Matches
requests from sources that do not match the criteria specified in this
field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getNotSourcesList()
public List<AuthzPolicy.AuthzRule.From.RequestSource> getNotSourcesList()
Optional. Describes the negated properties of request sources. Matches
requests from sources that do not match the criteria specified in this
field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
getNotSourcesOrBuilder(int index)
public AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder getNotSourcesOrBuilder(int index)
Optional. Describes the negated properties of request sources. Matches
requests from sources that do not match the criteria specified in this
field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getNotSourcesOrBuilderList()
public List<? extends AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder> getNotSourcesOrBuilderList()
Optional. Describes the negated properties of request sources. Matches
requests from sources that do not match the criteria specified in this
field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder> |
|
getSources(int index)
public AuthzPolicy.AuthzRule.From.RequestSource getSources(int index)
Optional. Describes the properties of a request's sources. At least one
of sources or notSources must be specified. Limited to 1 source.
A match occurs when ANY source (in sources or notSources) matches the
request. Within a single source, the match follows AND semantics
across fields and OR semantics within a single field, i.e. a match
occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getSourcesBuilder(int index)
public AuthzPolicy.AuthzRule.From.RequestSource.Builder getSourcesBuilder(int index)
Optional. Describes the properties of a request's sources. At least one
of sources or notSources must be specified. Limited to 1 source.
A match occurs when ANY source (in sources or notSources) matches the
request. Within a single source, the match follows AND semantics
across fields and OR semantics within a single field, i.e. a match
occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getSourcesBuilderList()
public List<AuthzPolicy.AuthzRule.From.RequestSource.Builder> getSourcesBuilderList()
Optional. Describes the properties of a request's sources. At least one
of sources or notSources must be specified. Limited to 1 source.
A match occurs when ANY source (in sources or notSources) matches the
request. Within a single source, the match follows AND semantics
across fields and OR semantics within a single field, i.e. a match
occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
getSourcesCount()
public int getSourcesCount()
Optional. Describes the properties of a request's sources. At least one
of sources or notSources must be specified. Limited to 1 source.
A match occurs when ANY source (in sources or notSources) matches the
request. Within a single source, the match follows AND semantics
across fields and OR semantics within a single field, i.e. a match
occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getSourcesList()
public List<AuthzPolicy.AuthzRule.From.RequestSource> getSourcesList()
Optional. Describes the properties of a request's sources. At least one
of sources or notSources must be specified. Limited to 1 source.
A match occurs when ANY source (in sources or notSources) matches the
request. Within a single source, the match follows AND semantics
across fields and OR semantics within a single field, i.e. a match
occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
getSourcesOrBuilder(int index)
public AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder getSourcesOrBuilder(int index)
Optional. Describes the properties of a request's sources. At least one
of sources or notSources must be specified. Limited to 1 source.
A match occurs when ANY source (in sources or notSources) matches the
request. Within a single source, the match follows AND semantics
across fields and OR semantics within a single field, i.e. a match
occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getSourcesOrBuilderList()
public List<? extends AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder> getSourcesOrBuilderList()
Optional. Describes the properties of a request's sources. At least one
of sources or notSources must be specified. Limited to 1 source.
A match occurs when ANY source (in sources or notSources) matches the
request. Within a single source, the match follows AND semantics
across fields and OR semantics within a single field, i.e. a match
occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AuthzPolicy.AuthzRule.From other)
public AuthzPolicy.AuthzRule.From.Builder mergeFrom(AuthzPolicy.AuthzRule.From other)
public AuthzPolicy.AuthzRule.From.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AuthzPolicy.AuthzRule.From.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeNotSources(int index)
public AuthzPolicy.AuthzRule.From.Builder removeNotSources(int index)
Optional. Describes the negated properties of request sources. Matches
requests from sources that do not match the criteria specified in this
field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
removeSources(int index)
public AuthzPolicy.AuthzRule.From.Builder removeSources(int index)
Optional. Describes the properties of a request's sources. At least one
of sources or notSources must be specified. Limited to 1 source.
A match occurs when ANY source (in sources or notSources) matches the
request. Within a single source, the match follows AND semantics
across fields and OR semantics within a single field, i.e. a match
occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
setNotSources(int index, AuthzPolicy.AuthzRule.From.RequestSource value)
public AuthzPolicy.AuthzRule.From.Builder setNotSources(int index, AuthzPolicy.AuthzRule.From.RequestSource value)
Optional. Describes the negated properties of request sources. Matches
requests from sources that do not match the criteria specified in this
field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
setNotSources(int index, AuthzPolicy.AuthzRule.From.RequestSource.Builder builderForValue)
public AuthzPolicy.AuthzRule.From.Builder setNotSources(int index, AuthzPolicy.AuthzRule.From.RequestSource.Builder builderForValue)
Optional. Describes the negated properties of request sources. Matches
requests from sources that do not match the criteria specified in this
field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
setSources(int index, AuthzPolicy.AuthzRule.From.RequestSource value)
public AuthzPolicy.AuthzRule.From.Builder setSources(int index, AuthzPolicy.AuthzRule.From.RequestSource value)
Optional. Describes the properties of a request's sources. At least one
of sources or notSources must be specified. Limited to 1 source.
A match occurs when ANY source (in sources or notSources) matches the
request. Within a single source, the match follows AND semantics
across fields and OR semantics within a single field, i.e. a match
occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
setSources(int index, AuthzPolicy.AuthzRule.From.RequestSource.Builder builderForValue)
public AuthzPolicy.AuthzRule.From.Builder setSources(int index, AuthzPolicy.AuthzRule.From.RequestSource.Builder builderForValue)
Optional. Describes the properties of a request's sources. At least one
of sources or notSources must be specified. Limited to 1 source.
A match occurs when ANY source (in sources or notSources) matches the
request. Within a single source, the match follows AND semantics
across fields and OR semantics within a single field, i.e. a match
occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];