Interface ConfigChangeOrBuilder (2.42.0)

public interface ConfigChangeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdvices(int index)

public abstract Advice getAdvices(int index)

Collection of advice provided for this change, useful for determining the possible impact of this change.

repeated .google.api.Advice advices = 5;

Parameter
Name Description
index int
Returns
Type Description
Advice

getAdvicesCount()

public abstract int getAdvicesCount()

Collection of advice provided for this change, useful for determining the possible impact of this change.

repeated .google.api.Advice advices = 5;

Returns
Type Description
int

getAdvicesList()

public abstract List<Advice> getAdvicesList()

Collection of advice provided for this change, useful for determining the possible impact of this change.

repeated .google.api.Advice advices = 5;

Returns
Type Description
List<Advice>

getAdvicesOrBuilder(int index)

public abstract AdviceOrBuilder getAdvicesOrBuilder(int index)

Collection of advice provided for this change, useful for determining the possible impact of this change.

repeated .google.api.Advice advices = 5;

Parameter
Name Description
index int
Returns
Type Description
AdviceOrBuilder

getAdvicesOrBuilderList()

public abstract List<? extends AdviceOrBuilder> getAdvicesOrBuilderList()

Collection of advice provided for this change, useful for determining the possible impact of this change.

repeated .google.api.Advice advices = 5;

Returns
Type Description
List<? extends com.google.api.AdviceOrBuilder>

getChangeType()

public abstract ChangeType getChangeType()

The type for this change, either ADDED, REMOVED, or MODIFIED.

.google.api.ChangeType change_type = 4;

Returns
Type Description
ChangeType

The changeType.

getChangeTypeValue()

public abstract int getChangeTypeValue()

The type for this change, either ADDED, REMOVED, or MODIFIED.

.google.api.ChangeType change_type = 4;

Returns
Type Description
int

The enum numeric value on the wire for changeType.

getElement()

public abstract String getElement()

Object hierarchy path to the change, with levels separated by a '.' character. For repeated fields, an applicable unique identifier field is used for the index (usually selector, name, or id). For maps, the term 'key' is used. If the field has no unique identifier, the numeric index is used. Examples:

  • visibility.rules[selector=="google.LibraryService.ListBooks"].restriction
  • quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
  • logging.producer_destinations[0]

string element = 1;

Returns
Type Description
String

The element.

getElementBytes()

public abstract ByteString getElementBytes()

Object hierarchy path to the change, with levels separated by a '.' character. For repeated fields, an applicable unique identifier field is used for the index (usually selector, name, or id). For maps, the term 'key' is used. If the field has no unique identifier, the numeric index is used. Examples:

  • visibility.rules[selector=="google.LibraryService.ListBooks"].restriction
  • quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
  • logging.producer_destinations[0]

string element = 1;

Returns
Type Description
ByteString

The bytes for element.

getNewValue()

public abstract String getNewValue()

Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.

string new_value = 3;

Returns
Type Description
String

The newValue.

getNewValueBytes()

public abstract ByteString getNewValueBytes()

Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.

string new_value = 3;

Returns
Type Description
ByteString

The bytes for newValue.

getOldValue()

public abstract String getOldValue()

Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.

string old_value = 2;

Returns
Type Description
String

The oldValue.

getOldValueBytes()

public abstract ByteString getOldValueBytes()

Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.

string old_value = 2;

Returns
Type Description
ByteString

The bytes for oldValue.